Skip to content
Snippets Groups Projects
Commit ce574f26 authored by rswindell's avatar rswindell
Browse files

Prepended js_ to CreateSystem/UserObject function names.

Added js_CreateFileAreaObject function.
parent c0a90ae4
No related branches found
No related tags found
No related merge requests found
...@@ -772,12 +772,16 @@ extern "C" { ...@@ -772,12 +772,16 @@ extern "C" {
#ifdef JAVASCRIPT #ifdef JAVASCRIPT
/* sysobj.c */ /* sysobj.c */
DLLEXPORT JSObject* DLLCALL CreateSystemObject(scfg_t* cfg, JSContext* cx, JSObject* parent); DLLEXPORT JSObject* DLLCALL js_CreateSystemObject(scfg_t* cfg, JSContext* cx, JSObject* parent);
/* userobj.c */ /* userobj.c */
DLLEXPORT JSObject* DLLCALL CreateUserObject(scfg_t* cfg, JSContext* cx, JSObject* parent DLLEXPORT JSObject* DLLCALL js_CreateUserObject(scfg_t* cfg, JSContext* cx, JSObject* parent
,char* name, user_t* user); ,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);
#endif #endif
#ifdef SBBS /* These aren't exported */ #ifdef SBBS /* These aren't exported */
......
...@@ -318,7 +318,7 @@ static JSClass js_sysstats_class = { ...@@ -318,7 +318,7 @@ static JSClass js_sysstats_class = {
}; };
JSObject* DLLCALL CreateSystemObject(scfg_t* cfg, JSContext* cx, JSObject* parent) JSObject* DLLCALL js_CreateSystemObject(scfg_t* cfg, JSContext* cx, JSObject* parent)
{ {
JSObject* sysobj; JSObject* sysobj;
JSObject* statsobj; JSObject* statsobj;
......
...@@ -436,7 +436,7 @@ static JSClass js_user_security_class = { ...@@ -436,7 +436,7 @@ static JSClass js_user_security_class = {
,JS_FinalizeStub /* finalize */ ,JS_FinalizeStub /* finalize */
}; };
JSObject* DLLCALL CreateUserObject(scfg_t* cfg, JSContext* cx, JSObject* parent, char* name, user_t* user) JSObject* DLLCALL js_CreateUserObject(scfg_t* cfg, JSContext* cx, JSObject* parent, char* name, user_t* user)
{ {
JSObject* userobj; JSObject* userobj;
JSObject* statsobj; JSObject* statsobj;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment