]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
messaging: make messaging_rec_create public
authorVolker Lendecke <vl@samba.org>
Sat, 24 Jun 2017 06:38:19 +0000 (08:38 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:01 +0000 (08:43 +0200)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12903

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0c1e08b5901e54c70cf72c74837a8ed8cc77f0b8)

source3/include/messages.h
source3/lib/messages.c

index ea89383e02d4db64e9c499b94706b7aa9e36aff4..cf0d76a77c81e5219d22078fadcd465e48756bf8 100644 (file)
@@ -153,6 +153,11 @@ int messaging_cleanup(struct messaging_context *msg_ctx, pid_t pid);
 
 bool messaging_parent_dgm_cleanup_init(struct messaging_context *msg);
 
+struct messaging_rec *messaging_rec_create(
+       TALLOC_CTX *mem_ctx, struct server_id src, struct server_id dst,
+       uint32_t msg_type, const struct iovec *iov, int iovlen,
+       const int *fds, size_t num_fds);
+
 #include "librpc/gen_ndr/ndr_messaging.h"
 
 #endif
index 69dfbf30b67dee5d30c8e75d3431ecaf4b84a57f..d40a4b369c6b8f6c1ca080f34603638159f83f5e 100644 (file)
@@ -108,7 +108,7 @@ static void ping_message(struct messaging_context *msg_ctx,
        messaging_send(msg_ctx, src, MSG_PONG, data);
 }
 
-static struct messaging_rec *messaging_rec_create(
+struct messaging_rec *messaging_rec_create(
        TALLOC_CTX *mem_ctx, struct server_id src, struct server_id dst,
        uint32_t msg_type, const struct iovec *iov, int iovlen,
        const int *fds, size_t num_fds)