c3b8edd7e969ab151dcd694d5e1ea4ee75209570
[samba.git] / source4 / libcli / swig / libcli_smb.i
1 %module libcli_smb
2
3 %import "../../lib/talloc/talloc.i"
4
5 %{
6 #include "includes.h"
7 #include "lib/events/events.h"
8 #include "libcli/raw/libcliraw.h"
9 %}
10
11 struct event_context *event_context_init(TALLOC_CTX *mem_ctx);
12
13 struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,
14                                                  TALLOC_CTX *mem_ctx,
15                                                  struct event_context *event_ctx);
16
17 void smbcli_sock_dead(struct smbcli_socket *sock);