1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/testprogs/ejs
Andrew Tridgell f6d2892faa r8821: continue the trend to move to a more OO style of interface for our js
calls. This changes the generated RPC and IRPC calls to use the 'this'
object pointer instead of requiring the passing of the object on each
call. So typical usage is now:

var echo = echo_init();
var io = irpcObj();

status = echo.connect("ncacn_np:server");
assert(status.is_ok);

io.input.in_data = 7;
status = echo.AddOne(io);
assert(status.is_ok);
(This used to be commit f7b49ecd08)
2007-10-10 13:30:08 -05:00
..
argv.js r8317: convert the example scripts over to the new GetOptions() call 2007-10-10 13:20:06 -05:00
bugs.js r8652: added a test for the boolean bug just fixed 2007-10-10 13:29:50 -05:00
echo.js r8821: continue the trend to move to a more OO style of interface for our js 2007-10-10 13:30:08 -05:00
ldap.js r8745: make ldap.js cleanup after itself 2007-10-10 13:30:01 -05:00
ldb.js r8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie: 2007-10-10 13:30:00 -05:00
loadparm.js r8639: moved loadparm calls into an ejs object 2007-10-10 13:29:48 -05:00
nbtstats r8483: switched our generated ejs rpc code over to the new OO interface. This 2007-10-10 13:23:08 -05:00
resolveName.js r7261: Pass by reference is done in js via MPR_TYPE_OBJECT. Update argument 2007-10-10 13:17:33 -05:00
samr.js r8821: continue the trend to move to a more OO style of interface for our js 2007-10-10 13:30:08 -05:00
sprintf.js r8638: continue the trend of maknig our C functions true ejs objects by making the string functions 2007-10-10 13:29:48 -05:00