summaryrefslogtreecommitdiff
path: root/source4/libcli/swig/libcli_smb.i
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/swig/libcli_smb.i')
-rw-r--r--source4/libcli/swig/libcli_smb.i5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/libcli/swig/libcli_smb.i b/source4/libcli/swig/libcli_smb.i
index 8eb055c2f0..c3b8edd7e9 100644
--- a/source4/libcli/swig/libcli_smb.i
+++ b/source4/libcli/swig/libcli_smb.i
@@ -1,14 +1,13 @@
%module libcli_smb
+%import "../../lib/talloc/talloc.i"
+
%{
#include "includes.h"
-#include "lib/talloc/talloc.h"
#include "lib/events/events.h"
#include "libcli/raw/libcliraw.h"
%}
-TALLOC_CTX *talloc_init(char *name);
-int talloc_free(TALLOC_CTX *ptr);
struct event_context *event_context_init(TALLOC_CTX *mem_ctx);
struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,