svn commit: samba r23125 - in branches/SAMBA_4_0/source/scripting/ejs/ejsnet: .

mimir at samba.org mimir at samba.org
Thu May 24 21:45:29 GMT 2007


Author: mimir
Date: 2007-05-24 21:45:29 +0000 (Thu, 24 May 2007)
New Revision: 23125

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23125

Log:
add host manager subcontext function.


rafal


Modified:
   branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c	2007-05-24 21:44:27 UTC (rev 23124)
+++ branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c	2007-05-24 21:45:29 UTC (rev 23125)
@@ -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 @@
 	
 	/* 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);
 



More information about the samba-cvs mailing list