0f9116d7f93437a2dfe0974c855648db497a37fa
[ira/wip.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, const char **ports,
13                                                  TALLOC_CTX *mem_ctx,
14                          struct resolve_context *resolve_ctx,
15                                                  struct event_context *event_ctx,
16                          const char *socket_options);
17
18 void smbcli_sock_dead(struct smbcli_socket *sock);