aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index ac5c6b7..8c36057 100644
--- a/src/net.h
+++ b/src/net.h
@@ -41,6 +41,8 @@ int start_serv(lua_State* L, int port);
//
static char* http_codes[600] = {0};
+int clean_lullaby_net(lua_State* L);
+
static const luaL_Reg net_function_list [] = {
{"listen",l_listen},
//{"request",l_request},
@@ -50,6 +52,9 @@ static const luaL_Reg net_function_list [] = {
{NULL,NULL}
};
+extern char* _mimetypes;
+
static struct config net_config[] = {
+ {.name = "mimetypes", .type = c_string, .value = {.c_string = &_mimetypes}},
{.type = c_none}
};