diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-05 23:01:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:23 -0500 |
commit | 31fa87f23b68785665411ab49dee5f920b239a5c (patch) | |
tree | 335ea5f8176a3f8293f17183790581dd2e319aa2 /source4/build | |
parent | d87e1306c5cbfcbcd80d3f527aa4412aedfb9dcf (diff) | |
download | samba-31fa87f23b68785665411ab49dee5f920b239a5c.tar.gz samba-31fa87f23b68785665411ab49dee5f920b239a5c.tar.bz2 samba-31fa87f23b68785665411ab49dee5f920b239a5c.zip |
r9146: - enable winreg pipe from ejs
- map the result code from rpc calls into the ejs objects
- treat winreg_String like lsa_String, hiding the length elements
(This used to be commit 2f6311c9a34db46f9a4b1f31e865a373b15702bf)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/pidl/Parse/Pidl/Samba/EJS.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Samba/EJS.pm b/source4/build/pidl/Parse/Pidl/Samba/EJS.pm index c528e13a52..415ca584b5 100644 --- a/source4/build/pidl/Parse/Pidl/Samba/EJS.pm +++ b/source4/build/pidl/Parse/Pidl/Samba/EJS.pm @@ -628,6 +628,11 @@ sub EjsPushFunction($) EjsPushElementTop($e, $env); } + if ($d->{RETURN_TYPE}) { + my $t = $d->{RETURN_TYPE}; + pidl "NDR_CHECK(ejs_push_$t(ejs, v, \"result\", &r->out.result));"; + } + pidl "return NT_STATUS_OK;"; deindent; pidl "}\n"; |