aboutsummaryrefslogtreecommitdiffstats
path: root/src/pingu_adm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pingu_adm.h')
-rw-r--r--src/pingu_adm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pingu_adm.h b/src/pingu_adm.h
new file mode 100644
index 0000000..3b50b06
--- /dev/null
+++ b/src/pingu_adm.h
@@ -0,0 +1,12 @@
+#ifndef PINGU_ADM_H
+#define PINGU_ADM_H
+
+#include <ev.h>
+
+#ifndef DEFAULT_ADM_SOCKET
+#define DEFAULT_ADM_SOCKET "/var/run/pingu/pingu.ctl"
+#endif
+
+int pingu_adm_init(struct ev_loop *loop, const char *socket_path);
+
+#endif