mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-03 13:28:44 +00:00
Exposed Lua support functions.
This commit is contained in:
1 parent
8dd76e6ef4
commit
1b3a1b74ac
2 files changed
+11
-3
No files matched your search
@@ -112,6 +112,14 @@ void *mg_start_thread(void *(*func)(void *), void *param);
|
||||
char *mg_md5(char buf[33], ...);
|
||||
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,
|
||||
lua_CFunction func, struct mg_connection *conn);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
Reference in new issue
Block a user