From b5ce97511aa33aa439a371f114ba7bb0cf822a16 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 3 Nov 2009 14:15:07 +1100 Subject: libcli/nbt Move more of lmhosts lookup into common code This aims to eventually share this with Samba4. Andrew Bartlett --- libcli/nbt/libnbt.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libcli/nbt/libnbt.h') diff --git a/libcli/nbt/libnbt.h b/libcli/nbt/libnbt.h index 2abcb56971..6d6a4a4696 100644 --- a/libcli/nbt/libnbt.h +++ b/libcli/nbt/libnbt.h @@ -360,4 +360,10 @@ bool getlmhostsent(TALLOC_CTX *ctx, XFILE *fp, char **pp_name, int *name_type, struct sockaddr_storage *pss); void endlmhosts(XFILE *fp); +NTSTATUS resolve_lmhosts_file_as_sockaddr(const char *lmhosts_file, + const char *name, int name_type, + TALLOC_CTX *mem_ctx, + struct sockaddr_storage **return_iplist, + int *return_count); + #endif /* __LIBNBT_H__ */ -- cgit