blob: 0f9116d7f93437a2dfe0974c855648db497a37fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
%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,
const char *socket_options);
void smbcli_sock_dead(struct smbcli_socket *sock);
|