From 59bea8436267cbb6d6b1501af31b8948509b3bd4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 19 Sep 2009 14:20:43 -0700 Subject: libcli:nbt move prototypes of lmhosts functions to libnbt.h --- libcli/nbt/libnbt.h | 7 ++++++- source3/include/proto.h | 4 ---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libcli/nbt/libnbt.h b/libcli/nbt/libnbt.h index a37a213b08..2abcb56971 100644 --- a/libcli/nbt/libnbt.h +++ b/libcli/nbt/libnbt.h @@ -24,7 +24,7 @@ #include "librpc/gen_ndr/nbt.h" #include "librpc/ndr/libndr.h" - +#include "system/network.h" /* possible states for pending requests */ @@ -355,4 +355,9 @@ NTSTATUS nbt_name_register_wins_recv(struct composite_context *c, TALLOC_CTX *me struct nbt_name_register_wins *io); +XFILE *startlmhosts(const char *fname); +bool getlmhostsent(TALLOC_CTX *ctx, XFILE *fp, char **pp_name, int *name_type, + struct sockaddr_storage *pss); +void endlmhosts(XFILE *fp); + #endif /* __LIBNBT_H__ */ diff --git a/source3/include/proto.h b/source3/include/proto.h index 1d8a6cd9fa..f2350e7d88 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3104,10 +3104,6 @@ struct sockaddr_storage *name_query(int fd, int *count, int *flags, bool *timed_out); -XFILE *startlmhosts(const char *fname); -bool getlmhostsent(TALLOC_CTX *ctx, XFILE *fp, char **pp_name, int *name_type, - struct sockaddr_storage *pss); -void endlmhosts(XFILE *fp); NTSTATUS name_resolve_bcast(const char *name, int name_type, struct ip_service **return_iplist, -- cgit