aboutsummaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h36
1 files changed, 36 insertions, 0 deletions
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 <ilmis@nullnet.fi>
+
+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 */