summaryrefslogtreecommitdiff
path: root/src/cli.h
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-16 17:34:05 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-16 17:34:05 +0200
commitcc9d637652875020e1a26874f15ff362938aa9e0 (patch)
treec620907b09b8926a2ea8888856b5cc154be0dc87 /src/cli.h
parent7cffb5df19cefd6169da43864737551d393abd91 (diff)
Signal handling, code improvements.
Diffstat (limited to 'src/cli.h')
-rw-r--r--src/cli.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cli.h b/src/cli.h
new file mode 100644
index 0000000..ca42f76
--- /dev/null
+++ b/src/cli.h
@@ -0,0 +1,15 @@
+#ifndef _JH_CLI_CLI_H_
+#define _JH_CLI_CLI_H_
+
+#include <stdio.h>
+
+int JH_cli_open_socket
+(
+ FILE * s [const restrict static 1],
+ const char socket_name [const restrict static 1]
+);
+
+int JH_cli_is_running (void);
+int JH_cli_set_signal_handlers (void);
+
+#endif