r5351: Add wrapper for nt_errstr and array functions for samr_ConnectInfo.
authorTim Potter <tpot@samba.org>
Sat, 12 Feb 2005 00:54:11 +0000 (00:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:45 +0000 (13:09 -0500)
(This used to be commit be37749ac7d128fcabf82bad104d87098e2d9f55)

source4/scripting/swig/dcerpc.i

index 3d9d076e583334f5beaacd4b0c3073936b2333a5..a1261f997d9b63e0efbc3592ed7a29168c307bf9 100644 (file)
@@ -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"