summaryrefslogtreecommitdiffstats
path: root/src/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.h')
-rw-r--r--src/core.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core.h b/src/core.h
new file mode 100644
index 0000000..dd5cd58
--- /dev/null
+++ b/src/core.h
@@ -0,0 +1,10 @@
+#ifndef _OG_CORE_H
+#define _OG_CORE_H
+
+extern int socket_rest, socket_agent_rest;
+extern struct ev_loop *og_loop;
+
+int og_socket_server_init(const char *port);
+void og_server_accept_cb(struct ev_loop *loop, struct ev_io *io, int events);
+
+#endif