summaryrefslogtreecommitdiff
path: root/source4/libcli/swig/libcli_smb.i
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-21 12:31:35 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:54 +0100
commitd3a13a16fff6e9a9929109a37f04a0a8e91d82b7 (patch)
treecff8883218a7bf29c398d635fa23c54d081464fc /source4/libcli/swig/libcli_smb.i
parent98c6dc913df5439d972c54238bc23e29a934d5cb (diff)
downloadsamba-d3a13a16fff6e9a9929109a37f04a0a8e91d82b7.tar.gz
samba-d3a13a16fff6e9a9929109a37f04a0a8e91d82b7.tar.bz2
samba-d3a13a16fff6e9a9929109a37f04a0a8e91d82b7.zip
r26076: Remove some SWIG code that is already commonly available.
(This used to be commit e6cd16d0fb3c7f0d4756c28b8c9300583910c4c6)
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,