diff --git a/mongoose.h b/mongoose.h index 3ac824f99e21fb32a902aa6012b64020f5aea82a..dfece93092929b95708d7bd45604ae3c058b0858 100644 --- a/mongoose.h +++ b/mongoose.h @@ -114,9 +114,9 @@ int mg_authorize_digest(struct mg_connection *c, FILE *fp); // Lua utility functions #ifdef MONGOOSE_USE_LUA -static void reg_string(struct lua_State *L, const char *name, const char *val); -static void reg_int(struct lua_State *L, const char *name, int val); -static void reg_function(struct lua_State *L, const char *name, +void reg_string(struct lua_State *L, const char *name, const char *val); +void reg_int(struct lua_State *L, const char *name, int val); +void reg_function(struct lua_State *L, const char *name, lua_CFunction func, struct mg_connection *conn); #endif