From be37749ac7d128fcabf82bad104d87098e2d9f55 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 12 Feb 2005 00:54:11 +0000 Subject: [PATCH] r5351: Add wrapper for nt_errstr and array functions for samr_ConnectInfo. --- source/scripting/swig/dcerpc.i | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/scripting/swig/dcerpc.i b/source/scripting/swig/dcerpc.i index 3d9d076e583..a1261f997d9 100644 --- a/source/scripting/swig/dcerpc.i +++ b/source/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"