diff options
Diffstat (limited to 'src/core.h')
-rw-r--r-- | src/core.h | 10 |
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 |