summaryrefslogtreecommitdiff
path: root/source4/libcli/swig/libcli_smb.i
blob: 4125bcf5a912bb8bc57f4e55a80e7c14120a55b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%module libcli_smb

%import "../../lib/talloc/talloc.i"
%import "../../lib/events/events.i"

%{
#include "includes.h"
#include "lib/events/events.h"
#include "libcli/raw/libcliraw.h"
%}

struct smbcli_socket *smbcli_sock_connect_byname(const char *host, const char **ports,
						 TALLOC_CTX *mem_ctx,
                         struct resolve_context *resolve_ctx,
						 struct event_context *event_ctx);

void smbcli_sock_dead(struct smbcli_socket *sock);