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