diff options
author | Tim Potter <tpot@samba.org> | 2005-02-12 00:54:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:45 -0500 |
commit | 49568fab37d3a8fc3727ec5972cecdaf35e904b5 (patch) | |
tree | 38eda934475eb6b29d95cf63cb8cdaf6011c609a /source4/scripting/swig | |
parent | 55006da0436b108f9f56b8736e58eee2777bd361 (diff) | |
download | samba-49568fab37d3a8fc3727ec5972cecdaf35e904b5.tar.gz samba-49568fab37d3a8fc3727ec5972cecdaf35e904b5.tar.bz2 samba-49568fab37d3a8fc3727ec5972cecdaf35e904b5.zip |
r5351: Add wrapper for nt_errstr and array functions for samr_ConnectInfo.
(This used to be commit be37749ac7d128fcabf82bad104d87098e2d9f55)
Diffstat (limited to 'source4/scripting/swig')
-rw-r--r-- | source4/scripting/swig/dcerpc.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/swig/dcerpc.i b/source4/scripting/swig/dcerpc.i index 3d9d076e58..a1261f997d 100644 --- a/source4/scripting/swig/dcerpc.i +++ b/source4/scripting/swig/dcerpc.i @@ -169,6 +169,8 @@ NTSTATUS dcerpc_pipe_connect(struct dcerpc_pipe **OUT, const char *dcerpc_server_name(struct dcerpc_pipe *p); +char *nt_errstr(NTSTATUS nt_code); + /* Some typemaps for easier access to resume handles. Really this can also be done using the uint32 carray functions, but it's a bit of a hassle. TODO: Fix memory leak here. */ @@ -228,6 +230,7 @@ const char *dcerpc_server_name(struct dcerpc_pipe *p); them all by hand. */ %array_functions(struct samr_SamEntry, samr_SamEntry_array); +%array_functions(union samr_ConnectInfo, samr_ConnectInfo_array); %include "librpc/gen_ndr/misc.i" %include "librpc/gen_ndr/security.i" |