1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/libcli/swig/libcli_smb.i

19 lines
478 B
OpenEdge ABL
Raw Normal View History

%module libcli_smb
%{
#include "includes.h"
#include "lib/talloc/talloc.h"
#include "lib/events/events.h"
#include "libcli/raw/libcliraw.h"
%}
TALLOC_CTX *talloc_init(char *name);
int talloc_free(TALLOC_CTX *ptr);
struct event_context *event_context_init(TALLOC_CTX *mem_ctx);
struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,
TALLOC_CTX *mem_ctx,
struct event_context *event_ctx);
void smbcli_sock_dead(struct smbcli_socket *sock);