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.i3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/swig/libcli_smb.i b/source4/libcli/swig/libcli_smb.i
index c3b8edd7e9..32e043b2c6 100644
--- a/source4/libcli/swig/libcli_smb.i
+++ b/source4/libcli/swig/libcli_smb.i
@@ -1,6 +1,7 @@
%module libcli_smb
%import "../../lib/talloc/talloc.i"
+%import "../../lib/events/events.i"
%{
#include "includes.h"
@@ -8,8 +9,6 @@
#include "libcli/raw/libcliraw.h"
%}
-struct event_context *event_context_init(TALLOC_CTX *mem_ctx);
-
struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,
TALLOC_CTX *mem_ctx,
struct event_context *event_ctx);