summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,