summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/dgram/browse.c16
-rw-r--r--source4/libcli/dgram/libdgram.h16
2 files changed, 26 insertions, 6 deletions
diff --git a/source4/libcli/dgram/browse.c b/source4/libcli/dgram/browse.c
index 433d1c1971..25cee387c4 100644
--- a/source4/libcli/dgram/browse.c
+++ b/source4/libcli/dgram/browse.c
@@ -26,8 +26,10 @@
#include "lib/socket/socket.h"
NTSTATUS dgram_mailslot_browse_send(struct nbt_dgram_socket *dgmsock,
- struct nbt_name *dest_name, struct socket_address *dest,
- struct nbt_name *src_name, struct nbt_browse_packet *request)
+ struct nbt_name *dest_name,
+ struct socket_address *dest,
+ struct nbt_name *src_name,
+ struct nbt_browse_packet *request)
{
NTSTATUS status;
DATA_BLOB blob;
@@ -49,8 +51,9 @@ NTSTATUS dgram_mailslot_browse_send(struct nbt_dgram_socket *dgmsock,
}
NTSTATUS dgram_mailslot_browse_reply(struct nbt_dgram_socket *dgmsock,
- struct nbt_dgram_packet *request, const char *mailslot_name,
- struct nbt_browse_packet *reply)
+ struct nbt_dgram_packet *request,
+ const char *mailslot_name,
+ struct nbt_browse_packet *reply)
{
NTSTATUS status;
DATA_BLOB blob;
@@ -84,8 +87,9 @@ NTSTATUS dgram_mailslot_browse_reply(struct nbt_dgram_socket *dgmsock,
}
NTSTATUS dgram_mailslot_browse_parse(struct dgram_mailslot_handler *dgmslot,
- TALLOC_CTX *mem_ctx, struct nbt_dgram_packet *dgram,
- struct nbt_browse_packet *pkt)
+ TALLOC_CTX *mem_ctx,
+ struct nbt_dgram_packet *dgram,
+ struct nbt_browse_packet *pkt)
{
DATA_BLOB data = dgram_mailslot_data(dgram);
NTSTATUS status;
diff --git a/source4/libcli/dgram/libdgram.h b/source4/libcli/dgram/libdgram.h
index d5e28ed03d..830d81257d 100644
--- a/source4/libcli/dgram/libdgram.h
+++ b/source4/libcli/dgram/libdgram.h
@@ -145,3 +145,19 @@ NTSTATUS dgram_mailslot_ntlogon_parse(struct dgram_mailslot_handler *dgmslot,
TALLOC_CTX *mem_ctx,
struct nbt_dgram_packet *dgram,
struct nbt_ntlogon_packet *ntlogon);
+
+NTSTATUS dgram_mailslot_browse_send(struct nbt_dgram_socket *dgmsock,
+ struct nbt_name *dest_name,
+ struct socket_address *dest,
+ struct nbt_name *src_name,
+ struct nbt_browse_packet *request);
+
+NTSTATUS dgram_mailslot_browse_reply(struct nbt_dgram_socket *dgmsock,
+ struct nbt_dgram_packet *request,
+ const char *mailslot_name,
+ struct nbt_browse_packet *reply);
+
+NTSTATUS dgram_mailslot_browse_parse(struct dgram_mailslot_handler *dgmslot,
+ TALLOC_CTX *mem_ctx,
+ struct nbt_dgram_packet *dgram,
+ struct nbt_browse_packet *pkt);