s3: Make name_resolve_bcast return sockaddr_storage
[Samba.git] / librpc / ndr / ndr_dns.h
blobd97d57fdacd1a84bd52532184d4a2cc6f89e3be2
1 void ndr_print_dns_string(struct ndr_print *ndr,
2 const char *name,
3 const char *s);
4 enum ndr_err_code ndr_pull_dns_string(struct ndr_pull *ndr,
5 int ndr_flags,
6 const char **s);
7 enum ndr_err_code ndr_push_dns_string(struct ndr_push *ndr,
8 int ndr_flags,
9 const char *s);
10 enum ndr_err_code ndr_push_dns_res_rec(struct ndr_push *ndr,
11 int ndr_flags,
12 const struct dns_res_rec *r);
13 enum ndr_err_code ndr_pull_dns_res_rec(struct ndr_pull *ndr,
14 int ndr_flags,
15 struct dns_res_rec *r);