libcli:nbt move prototypes of lmhosts functions to libnbt.h
authorAndrew Bartlett <abartlet@samba.org>
Sat, 19 Sep 2009 21:20:43 +0000 (14:20 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 19 Sep 2009 21:34:16 +0000 (14:34 -0700)
libcli/nbt/libnbt.h
source3/include/proto.h

index a37a213b08666af4db83820cfa97125a284cbe75..2abcb5697130663ebb87d8a730f296216331683b 100644 (file)
@@ -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__ */
index 1d8a6cd9faf4fd3729a40ebd6cec54b129bf4e6b..f2350e7d886e5f58ecec30ba5225bf024b8c6d94 100644 (file)
@@ -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,