5 #include "lib/talloc/talloc.h"
6 #include "lib/events/events.h"
7 #include "libcli/raw/libcliraw.h"
10 TALLOC_CTX *talloc_init(char *name);
11 int talloc_free(TALLOC_CTX *ptr);
12 struct event_context *event_context_init(TALLOC_CTX *mem_ctx);
14 struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,
16 struct event_context *event_ctx);
18 void smbcli_sock_dead(struct smbcli_socket *sock);