From a4270020addc324fb60d2b1b446b41bc31e3baf8 Mon Sep 17 00:00:00 2001 From: Lucas Castro Date: Wed, 10 Jan 2024 22:33:44 -0300 Subject: Import Upstream version 1.0.4 --- globals.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 globals.h (limited to 'globals.h') diff --git a/globals.h b/globals.h new file mode 100644 index 0000000..3ea3199 --- /dev/null +++ b/globals.h @@ -0,0 +1,36 @@ +/* + +(C) 2009-2011 Mika Ilmaranta + +License: GPLv2 + +*/ + +#ifndef __GLOBALS_H__ +#define __GLOBALS_H__ + +#include "config.h" + +void set_prog(char *val); +char *get_prog(void); +void set_cont(const int val); +int get_cont(void); +void set_dump(const int val); +int get_dump(void); +void set_ident(const int val); +int get_ident(void); +void set_reload_cfg(const int val); +int get_reload_cfg(void); +void set_dump_if_list(const int val); +int get_dump_if_list(void); +void set_configfile(char *val); +char *get_configfile(void); +void set_pidfile(char *val); +char *get_pidfile(void); +void set_nodaemon(const int val); +int get_nodaemon(void); +char *get_status_str(STATUS val); + +#endif + +/* EOF */ -- cgit v1.2.3