diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-11 15:43:47 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-11 17:58:31 +0100 |
commit | 4a3ae3831d41bd7cb1d7efae7b2eb031d1fabbb8 (patch) | |
tree | 260f751d596945cc4f4414bea7fd685c7b5044ae /source4/libcli/resolve/resolve.h | |
parent | dfff610b464cb08a07bf235c161c242d16684972 (diff) | |
download | samba-4a3ae3831d41bd7cb1d7efae7b2eb031d1fabbb8.tar.gz samba-4a3ae3831d41bd7cb1d7efae7b2eb031d1fabbb8.tar.bz2 samba-4a3ae3831d41bd7cb1d7efae7b2eb031d1fabbb8.zip |
s4:libcli/resolve: add resolve_name_all*() which return all addresses not only the first one
metze
Diffstat (limited to 'source4/libcli/resolve/resolve.h')
-rw-r--r-- | source4/libcli/resolve/resolve.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source4/libcli/resolve/resolve.h b/source4/libcli/resolve/resolve.h index 22de146c99..01fc930fce 100644 --- a/source4/libcli/resolve/resolve.h +++ b/source4/libcli/resolve/resolve.h @@ -22,9 +22,16 @@ #ifndef __RESOLVE_H__ #define __RESOLVE_H__ +struct socket_address; + #include "../libcli/nbt/libnbt.h" -typedef struct composite_context *(*resolve_name_send_fn)(TALLOC_CTX *mem_ctx, struct event_context *, void *privdata, struct nbt_name *); -typedef NTSTATUS (*resolve_name_recv_fn)(struct composite_context *, TALLOC_CTX *, const char **); +typedef struct composite_context *(*resolve_name_send_fn)(TALLOC_CTX *mem_ctx, + struct event_context *, + void *privdata, + struct nbt_name *); +typedef NTSTATUS (*resolve_name_recv_fn)(struct composite_context *creq, + TALLOC_CTX *mem_ctx, + struct socket_address ***addrs); #include "libcli/resolve/proto.h" struct interface; #include "libcli/resolve/lp_proto.h" |