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

#include <sys/epoll.h>

#include <lua.h>

#include "request.h"

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);