mirror of
https://github.com/samba-team/samba.git
synced 2025-10-26 23:33: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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c065d67769
commit
a61cdee384
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user