summaryrefslogtreecommitdiffstats
path: root/src/core.h
blob: 49a646a01acf340fd32646ac4ace9170fa23e48d (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _OG_CORE_H
#define _OG_CORE_H

extern int socket_rest, socket_agent_rest;
extern struct ev_loop *og_loop;
extern time_t start_time;

int og_socket_server_init(const char *port);
void og_server_accept_cb(struct ev_loop *loop, struct ev_io *io, int events);

#endif