mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
Removed DLL interface and Lua conditional
This commit is contained in:
1 parent
639d7a2fd8
commit
4739de6c28
2 files changed
-55
No files matched your search
-15
@@ -113,21 +113,6 @@ 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);
|
||||
|
||||
struct mg_dll_symbol {
|
||||
const char *symbol_name;
|
||||
union { void *ptr; void (*func_ptr)(void); } symbol_address;
|
||||
};
|
||||
const char *mg_load_dll(const char *dll_path, struct mg_dll_symbol *symbols);
|
||||
|
||||
// Lua utility functions
|
||||
#ifdef MONGOOSE_USE_LUA
|
||||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
void reg_string(lua_State *L, const char *name, const char *val);
|
||||
void reg_int(lua_State *L, const char *name, int val);
|
||||
void reg_function(lua_State *L, const char *,
|
||||
lua_CFunction, struct mg_connection *);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user