1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-21 03:33:16 +03:00

r23125: add host manager subcontext function.

rafal
This commit is contained in:
Rafal Szczesniak
2007-05-24 21:45:29 +00:00
committed by Gerald (Jerry) Carter
parent 385a094443
commit 2f16ff04d2

View File

@@ -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);