summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-14 10:03:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:09 -0500
commitdf62387c642d8ef28a3d1549c306803fa03b7eae (patch)
tree384c5dd12b8cc8111ecfa0cd10425e0752b1667f
parent2bb3a50c7ea48730a3305d86f2e1e92ce206bdd3 (diff)
downloadsamba-df62387c642d8ef28a3d1549c306803fa03b7eae.tar.gz
samba-df62387c642d8ef28a3d1549c306803fa03b7eae.tar.bz2
samba-df62387c642d8ef28a3d1549c306803fa03b7eae.zip
r12932: export function prototypes
metze (This used to be commit 8208a4abf0cacb9ee3496611f121c095b5d1bcca)
-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);