summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/ejs/smbcalls.c')
-rw-r--r--source4/scripting/ejs/smbcalls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/ejs/smbcalls.c b/source4/scripting/ejs/smbcalls.c
index 664bb74df3..e436fc78df 100644
--- a/source4/scripting/ejs/smbcalls.c
+++ b/source4/scripting/ejs/smbcalls.c
@@ -252,8 +252,8 @@ failed:
*/
void smb_setup_ejs_functions(void)
{
- ejsDefineStringCFunction(-1, "lpGet", ejs_lpGet, NULL, 0);
- ejsDefineStringCFunction(-1, "lpServices", ejs_lpServices, NULL, 0);
- ejsDefineCFunction(-1, "typeof", ejs_typeof, NULL, 0);
- ejsDefineCFunction(-1, "ldbSearch", ejs_ldbSearch, NULL, 0);
+ ejsDefineStringCFunction(-1, "lpGet", ejs_lpGet, NULL, MPR_VAR_SCRIPT_HANDLE);
+ ejsDefineStringCFunction(-1, "lpServices", ejs_lpServices, NULL, MPR_VAR_SCRIPT_HANDLE);
+ ejsDefineCFunction(-1, "typeof", ejs_typeof, NULL, MPR_VAR_SCRIPT_HANDLE);
+ ejsDefineCFunction(-1, "ldbSearch", ejs_ldbSearch, NULL, MPR_VAR_SCRIPT_HANDLE);
}