diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-13 20:50:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-17 20:26:38 +0100 |
commit | 7d0e78a52cfed797100696725611655227cf01ac (patch) | |
tree | 27a53cf8c534b559290720533e8984b278a2c988 /source4/libcli/resolve/resolve.h | |
parent | 937fdb8a7e348103708adbdafcff28b05cc1fda3 (diff) | |
download | samba-7d0e78a52cfed797100696725611655227cf01ac.tar.gz samba-7d0e78a52cfed797100696725611655227cf01ac.tar.bz2 samba-7d0e78a52cfed797100696725611655227cf01ac.zip |
s4:libcli/resolve: optionally return the name that belongs to the returned address
E.g. this helps for DNS CNAME and SRV results.
metze
Diffstat (limited to 'source4/libcli/resolve/resolve.h')
-rw-r--r-- | source4/libcli/resolve/resolve.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/resolve/resolve.h b/source4/libcli/resolve/resolve.h index 9808b81393..344307febb 100644 --- a/source4/libcli/resolve/resolve.h +++ b/source4/libcli/resolve/resolve.h @@ -33,7 +33,8 @@ typedef struct composite_context *(*resolve_name_send_fn)(TALLOC_CTX *mem_ctx, struct nbt_name *); typedef NTSTATUS (*resolve_name_recv_fn)(struct composite_context *creq, TALLOC_CTX *mem_ctx, - struct socket_address ***addrs); + struct socket_address ***addrs, + char ***names); #include "libcli/resolve/proto.h" struct interface; #include "libcli/resolve/lp_proto.h" |