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

tridge at samba.org tridge at samba.org
Mon Jul 11 07:42:44 GMT 2005


Author: tridge
Date: 2005-07-11 07:42:43 +0000 (Mon, 11 Jul 2005)
New Revision: 8316

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

Log:
give full access to the popt command line parsing in ejs scripts, including
access to the samba common options. For example:


ok = GetOptions(ARGV, options,
		"POPT_AUTOHELP",
		"POPT_COMMON_SAMBA",
		"myopt=s",
		"intopt=i",
		"noopt");

this allows scripts to support their own extended options properly

Added:
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls_options.c
Modified:
   branches/SAMBA_4_0/source/scripting/ejs/config.mk
   branches/SAMBA_4_0/source/scripting/ejs/mprutil.c
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c
   branches/SAMBA_4_0/source/scripting/ejs/smbscript.c


Changeset:
Sorry, the patch is too large (306 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8316


More information about the samba-cvs mailing list