summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2007-05-24 21:45:29 +0000
committerRafal Szczesniak <mimir@samba.org>2007-05-24 21:45:29 +0000
commitf48dec6f5c455a4378eb6bd66959096aa758cd99 (patch)
tree233fa4c5bdd9410261cde52e859f6829f6106f10
parent9e358113b9f7e21275bd442f17c7736f2b0cd342 (diff)
downloadsamba-f48dec6f5c455a4378eb6bd66959096aa758cd99.tar.gz
samba-f48dec6f5c455a4378eb6bd66959096aa758cd99.tar.xz
samba-f48dec6f5c455a4378eb6bd66959096aa758cd99.zip
r23125: add host manager subcontext function.
rafal
-rw-r--r--source/scripting/ejs/ejsnet/net_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/scripting/ejs/ejsnet/net_ctx.c b/source/scripting/ejs/ejsnet/net_ctx.c
index 1c70dc107f4..e98ba59aeec 100644
--- a/source/scripting/ejs/ejsnet/net_ctx.c
+++ b/source/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);