Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit d674930c authored by rswindell's avatar rswindell

New js_CreateGlobalObject() function (in globobj.c) to create global objects...

New js_CreateGlobalObject() function (in globobj.c) to create global objects and add shared methods.
parent df0ab3a1
......@@ -775,13 +775,15 @@ extern "C" {
#ifdef JAVASCRIPT
/* globobj.c */
DLLEXPORT JSObject* DLLCALL js_CreateGlobalObject(scfg_t* cfg, JSContext* cx);
/* sysobj.c */
DLLEXPORT JSObject* DLLCALL js_CreateSystemObject(scfg_t* cfg, JSContext* cx, JSObject* parent);
/* userobj.c */
DLLEXPORT JSObject* DLLCALL js_CreateUserObject(scfg_t* cfg, JSContext* cx, JSObject* parent
,char* name, user_t* user);
/* fileobj.c */
DLLEXPORT JSObject* DLLCALL js_CreateFileAreaObject(scfg_t* cfg, JSContext* cx, JSObject* parent
,user_t* user, char* html_index_file);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment