From 05ed02cf3a124e228480da65e09b88751c0859e6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 21 Sep 2011 15:26:36 +0200 Subject: pingu_adm: implement initial admin socket only supported command so far is "status" --- pingu_adm.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pingu_adm.h (limited to 'pingu_adm.h') diff --git a/pingu_adm.h b/pingu_adm.h new file mode 100644 index 0000000..3b50b06 --- /dev/null +++ b/pingu_adm.h @@ -0,0 +1,12 @@ +#ifndef PINGU_ADM_H +#define PINGU_ADM_H + +#include + +#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 -- cgit v1.2.3