diff options
author | Rafal Szczesniak <mimir@samba.org> | 2007-05-24 21:45:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:52 -0500 |
commit | b0a1cf01e3cfba45273d636fd759fd2dd254f9d3 (patch) | |
tree | 39618398f065c474181f0f849f6f5aaf3b0028fc /source4/scripting/ejs/ejsnet/net_ctx.c | |
parent | 9bd9acae1cdd0475235d5e8960a9a0d8d40de008 (diff) | |
download | samba-b0a1cf01e3cfba45273d636fd759fd2dd254f9d3.tar.gz samba-b0a1cf01e3cfba45273d636fd759fd2dd254f9d3.tar.bz2 samba-b0a1cf01e3cfba45273d636fd759fd2dd254f9d3.zip |
r23125: add host manager subcontext function.
rafal
(This used to be commit 2f16ff04d22e13cfb2dc5d8b69004d969a4c25fb)
Diffstat (limited to 'source4/scripting/ejs/ejsnet/net_ctx.c')
-rw-r--r-- | source4/scripting/ejs/ejsnet/net_ctx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/ejs/ejsnet/net_ctx.c b/source4/scripting/ejs/ejsnet/net_ctx.c index 1c70dc107f..e98ba59aee 100644 --- a/source4/scripting/ejs/ejsnet/net_ctx.c +++ b/source4/scripting/ejs/ejsnet/net_ctx.c @@ -29,6 +29,7 @@ int ejs_net_userman(MprVarHandle eid, int argc, struct MprVar** argv); +int ejs_net_hostman(MprVarHandle eid, int argc, struct MprVar** argv); static int ejs_net_join_domain(MprVarHandle eid, int argc, struct MprVar **argv); static int ejs_net_samsync_ldb(MprVarHandle eid, int argc, struct MprVar **argv); @@ -105,6 +106,7 @@ static int ejs_net_context(MprVarHandle eid, int argc, struct MprVar **argv) /* add methods to the object */ mprSetCFunction(&obj, "UserMgr", ejs_net_userman); + mprSetCFunction(&obj, "HostMgr", ejs_net_hostman); mprSetCFunction(&obj, "JoinDomain", ejs_net_join_domain); mprSetCFunction(&obj, "SamSyncLdb", ejs_net_samsync_ldb); |