summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-09-19 14:20:43 -0700
committerAndrew Bartlett <abartlet@samba.org>2009-09-19 14:34:16 -0700
commit59bea8436267cbb6d6b1501af31b8948509b3bd4 (patch)
treed621b7ef132aef911d789696c6b1d2856c86e35c
parentd58976012eada94d55eb3ac89fd1601291167232 (diff)
downloadsamba-59bea8436267cbb6d6b1501af31b8948509b3bd4.tar.gz
samba-59bea8436267cbb6d6b1501af31b8948509b3bd4.tar.bz2
samba-59bea8436267cbb6d6b1501af31b8948509b3bd4.zip
libcli:nbt move prototypes of lmhosts functions to libnbt.h
-rw-r--r--libcli/nbt/libnbt.h7
-rw-r--r--source3/include/proto.h4
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,