s3: Add cli_writeall
[Samba.git] / source3 / libsmb / clidgram.h
blob01a8a6a4049f479499f6df62d97aa80ef0b19ded
1 #include "../libcli/netlogon/netlogon.h"
3 /* The following definitions come from libsmb/clidgram.c */
5 struct tevent_req *nbt_getdc_send(TALLOC_CTX *mem_ctx,
6 struct tevent_context *ev,
7 struct messaging_context *msg_ctx,
8 const struct sockaddr_storage *dc_addr,
9 const char *domain_name,
10 const struct dom_sid *sid,
11 uint32_t nt_version);
12 NTSTATUS nbt_getdc_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
13 uint32_t *nt_version, const char **dc_name,
14 struct netlogon_samlogon_response **samlogon_response);
15 NTSTATUS nbt_getdc(struct messaging_context *msg_ctx,
16 const struct sockaddr_storage *dc_addr,
17 const char *domain_name,
18 const struct dom_sid *sid,
19 uint32_t nt_version,
20 TALLOC_CTX *mem_ctx,
21 uint32_t *pnt_version,
22 const char **dc_name,
23 struct netlogon_samlogon_response **samlogon_response);