summaryrefslogtreecommitdiffstats
path: root/sources/core.h
blob: dd5cd580f0531176ec6f605136eca9a69e210590 (plain)
1
2
3
4
5
6
7
8
9
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