svn commit: samba r7002 - in branches/SAMBA_4_0/source: include
param web_server web_server/ejs web_server/esp
tridge at samba.org
tridge at samba.org
Fri May 27 03:58:13 GMT 2005
Author: tridge
Date: 2005-05-27 03:58:12 +0000 (Fri, 27 May 2005)
New Revision: 7002
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7002
Log:
added support for getting at loadparm config parameters via lpGet() in esp scripts
lpGet takes 4 forms
v = lpGet("type:parm"); gets a parametric variable
v = lpGet("share", "type:parm"); gets a parametric variable on a share
v = lpGet("parm"); gets a global variable
v = lpGet("share", "parm"); gets a share variable
in all cases a ejs object of the appropriate type for the variable is returned.
This commit also adds the function typeof() which returns the type of an object
Added:
branches/SAMBA_4_0/source/web_server/calls.c
Modified:
branches/SAMBA_4_0/source/include/structs.h
branches/SAMBA_4_0/source/param/loadparm.c
branches/SAMBA_4_0/source/web_server/config.mk
branches/SAMBA_4_0/source/web_server/ejs/ejs.c
branches/SAMBA_4_0/source/web_server/ejs/ejs.h
branches/SAMBA_4_0/source/web_server/esp/esp.c
branches/SAMBA_4_0/source/web_server/esp/esp.h
branches/SAMBA_4_0/source/web_server/http.c
Changeset:
Sorry, the patch is too large (477 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7002
More information about the samba-cvs
mailing list