diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-03-09 23:29:43 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-03-11 11:27:48 +1100 |
commit | 263d4b5c93a1ec8a027130800c98643f559677c5 (patch) | |
tree | cf2858b88a76706a8fdf9c49f9c83b4be8fdacb5 /libcli/nbt/libnbt.h | |
parent | 3723e32e8cca79b52b97d6d6f4cda8ce5ce1bd33 (diff) | |
download | samba-263d4b5c93a1ec8a027130800c98643f559677c5.tar.gz samba-263d4b5c93a1ec8a027130800c98643f559677c5.tar.xz samba-263d4b5c93a1ec8a027130800c98643f559677c5.zip |
libcli/nbt Add parser for a 'hosts' file that takes DNS record types
Diffstat (limited to 'libcli/nbt/libnbt.h')
-rw-r--r-- | libcli/nbt/libnbt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/nbt/libnbt.h b/libcli/nbt/libnbt.h index 6d6a4a4696b..e150b35566c 100644 --- a/libcli/nbt/libnbt.h +++ b/libcli/nbt/libnbt.h @@ -366,4 +366,10 @@ NTSTATUS resolve_lmhosts_file_as_sockaddr(const char *lmhosts_file, struct sockaddr_storage **return_iplist, int *return_count); +NTSTATUS resolve_dns_hosts_file_as_sockaddr(const char *dns_hosts_file, + const char *name, bool srv_lookup, + TALLOC_CTX *mem_ctx, + struct sockaddr_storage **return_iplist, + int *return_count); + #endif /* __LIBNBT_H__ */ |