summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-02 05:21:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:04 -0500
commit643e5d8239ba105a5ac99ecc513289a17402714b (patch)
treebdf23033fca7be2f84191ca5dc996d066732b0a1 /source4/scripting/ejs/smbcalls.c
parente7f84503c059b99541cb892cd143c87ed8626d69 (diff)
downloadsamba-643e5d8239ba105a5ac99ecc513289a17402714b.tar.gz
samba-643e5d8239ba105a5ac99ecc513289a17402714b.tar.bz2
samba-643e5d8239ba105a5ac99ecc513289a17402714b.zip
r8069: the beginnings of code to allow rpc calls to be made from ejs
tpot, note that this shows how you can modify passed in MprVar variables in C call (This used to be commit a782541db3de6ca3b599a220265cf9e6cb0c4d7b)
Diffstat (limited to 'source4/scripting/ejs/smbcalls.c')
-rw-r--r--source4/scripting/ejs/smbcalls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbcalls.c b/source4/scripting/ejs/smbcalls.c
index 6444ec63cc..041bd59f1a 100644
--- a/source4/scripting/ejs/smbcalls.c
+++ b/source4/scripting/ejs/smbcalls.c
@@ -192,6 +192,7 @@ void smb_setup_ejs_functions(void)
smb_setup_ejs_ldb();
smb_setup_ejs_nbt();
smb_setup_ejs_cli();
+ smb_setup_ejs_rpc();
ejsDefineCFunction(-1, "typeof", ejs_typeof, NULL, MPR_VAR_SCRIPT_HANDLE);
ejsDefineStringCFunction(-1, "getDomainList", ejs_domain_list, NULL, MPR_VAR_SCRIPT_HANDLE);