1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00
Tim Potter 708729be9f r25348: Start working on another Python wrapper.
(This used to be commit 441a0404346ce2ff72e8262c5bf6ef94d3b9f331)
2007-10-10 15:07:14 -05:00

19 lines
478 B
OpenEdge ABL

%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);