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

#include <poll.h>

#include <lua.h>

#include "http.h"
#include "request.h"

int make_server(const char *, const char *);
int handle_client(lua_State * L, struct pollfd *, struct request **, const int);
int handle_server(struct pollfd *, int, const int);