summaryrefslogtreecommitdiffhomepage
path: root/plop.h
blob: 5735685472a6df02fcc69728d37012cf2651309f (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <sys/epoll.h>

#include <lua.h>

lua_State * plop_initialize_lua(void);
int plop_make_server(const char *, const char *);
int plop_load_handler(lua_State *, const char *);
int plop_handle_client(lua_State *, struct epoll_event *);
int plop_handle_server(lua_State *, const int, const int);