diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-15 07:18:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:23:08 -0500 |
commit | a0bc4da1a307753e3b28a11863f50d66b0894190 (patch) | |
tree | d16430b5a02dd01188c7aa1722181eb947ec9442 /source4/scripting/ejs/ejsrpc.c | |
parent | 7b8332369f3664af13bd7760561765a35c312b9e (diff) | |
download | samba-a0bc4da1a307753e3b28a11863f50d66b0894190.tar.gz samba-a0bc4da1a307753e3b28a11863f50d66b0894190.tar.bz2 samba-a0bc4da1a307753e3b28a11863f50d66b0894190.zip |
r8483: switched our generated ejs rpc code over to the new OO interface. This
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
(This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
Diffstat (limited to 'source4/scripting/ejs/ejsrpc.c')
-rw-r--r-- | source4/scripting/ejs/ejsrpc.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/source4/scripting/ejs/ejsrpc.c b/source4/scripting/ejs/ejsrpc.c index e152c8fcd1..08bc4a94ba 100644 --- a/source4/scripting/ejs/ejsrpc.c +++ b/source4/scripting/ejs/ejsrpc.c @@ -229,25 +229,6 @@ NTSTATUS ejs_push_string(struct ejs_rpc *ejs, return mprSetVar(v, name, mprString(s)); } -/* - setup a constant int -*/ -void ejs_set_constant_int(int eid, const char *name, int value) -{ - struct MprVar *v = ejsGetGlobalObject(eid); - mprSetVar(v, name, mprCreateIntegerVar(value)); -} - -/* - setup a constant string -*/ -void ejs_set_constant_string(int eid, const char *name, const char *value) -{ - struct MprVar *v = ejsGetGlobalObject(eid); - mprSetVar(v, name, mprCreateStringVar(value, False)); -} - - NTSTATUS ejs_pull_dom_sid(struct ejs_rpc *ejs, struct MprVar *v, const char *name, struct dom_sid *r) { |