Added mg_load_dll()

This commit is contained in:
Sergey Lyubka committed 2014-03-20 15:01:05 +00:00
1 parent c658a54d18
commit ace8c1736c
2 files changed
+47 -3

No files matched your search

+6
View File
@@ -112,6 +112,12 @@ 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>