r7072: moved the esp hooks calls to the ejs level, so we can call them from
authorAndrew Tridgell <tridge@samba.org>
Sun, 29 May 2005 11:35:56 +0000 (11:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:12 +0000 (13:17 -0500)
commite59ae64f60d388a5634559e4e0887e4676b70871
treee0e2dbd0a42ff24fe59970f7d8b6f1da3e301f99
parenta58531dcf30b091913563ca2b8ce5e5843896441
r7072: moved the esp hooks calls to the ejs level, so we can call them from
both esp scripts and ejs scripts. This allows the smbscript program to
call all the existing extension calls like lpGet() and ldbSearch()

Also fixed smbscript to load smb.conf, and setup logging for DEBUG()

I left the unixAuth() routine in web_server/calls.c at the moment, as
that is really only useful for esp scripts. I imagine that as we
extend esp/ejs, we will put some functions in scripting/ejs/ for use
in both ejs and esp, and some functions in web_server/ where they will
only be accessed by esp web scripts
source/scripting/config.mk
source/scripting/ejs/mprutil.c [new file with mode: 0644]
source/scripting/ejs/smbcalls.c [new file with mode: 0644]
source/scripting/ejs/smbscript.c
source/web_server/calls.c
source/web_server/config.mk
source/web_server/http.c