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

#include <lua.h>

struct connection
{
	int fd;
	int ref;
	lua_State * L;
};

struct connection * connection_new(const int);
void connection_free(struct connection *);