summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/mprutil.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8073: a successful rpc call from ejs!Andrew Tridgell1-2/+2
the ejs_echo.c code is the stuff that needs to be auto-generated by pidl. It only does echo_AddOne so far. We also need a table for registering these calls. The code is hard-wired for echo_AddOne for now. (This used to be commit b1ea58ddc482c373783d16331dd07378010ba39a)
2007-10-10r8069: the beginnings of code to allow rpc calls to be made from ejsAndrew Tridgell1-0/+26
tpot, note that this shows how you can modify passed in MprVar variables in C call (This used to be commit a782541db3de6ca3b599a220265cf9e6cb0c4d7b)
2007-10-10r7254: Add a mprWERROR() function with the same attributes as mprNTSTATUS.Tim Potter1-0/+24
(This used to be commit 2fa6f7bb2b8390f6486f6531212b556e98a6c528)
2007-10-10r7225: Create a MprVar object from a NTSTATUS, e.g:Tim Potter1-0/+23
res: { is_err: true, is_ok: false, errstr: "NT_STATUS_IO_TIMEOUT", v: -1073741643 } (This used to be commit d81d5f8317ca82a08e6fc38ef7313fad2e631281)
2007-10-10r7081: Add mprToInt() function.Tim Potter1-0/+9
(This used to be commit 790a46f53bd5b6994cbf6aed670df1407a44e2f3)
2007-10-10r7072: moved the esp hooks calls to the ejs level, so we can call them fromAndrew Tridgell1-0/+159
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 (This used to be commit e59ae64f60d388a5634559e4e0887e4676b70871)