1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now use the enum name

instead of a integer in ejs scripts making rpc calls
(This used to be commit a61cdee384)
This commit is contained in:
Andrew Tridgell
2005-07-08 04:55:07 +00:00
committed by Gerald (Jerry) Carter
parent d105d5e9e4
commit c11204339a
7 changed files with 78 additions and 10 deletions

View File

@ -88,6 +88,8 @@ void ejs_exception(const char *reason)
exit(127);
}
smb_setup_ejs_constants(eid);
/* setup ARGV[] in the ejs environment */
for (i=1;argv[i];i++) {
argv_list = str_list_add(argv_list, argv[i]);