summaryrefslogtreecommitdiffstats
path: root/source3/include/messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/messages.h')
-rw-r--r--source3/include/messages.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index cefa2793fd..27b315642c 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -80,6 +80,9 @@ struct messaging_context {
struct tevent_context *event_ctx;
struct messaging_callback *callbacks;
+ struct tevent_req **waiters;
+ unsigned num_waiters;
+
struct messaging_backend *local;
struct messaging_backend *remote;
};
@@ -140,6 +143,13 @@ NTSTATUS messaging_send_buf(struct messaging_context *msg_ctx,
void messaging_dispatch_rec(struct messaging_context *msg_ctx,
struct messaging_rec *rec);
+struct tevent_req *messaging_read_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct messaging_context *msg,
+ uint32_t msg_type);
+int messaging_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
+ struct messaging_rec **presult);
+
#include "librpc/gen_ndr/ndr_messaging.h"
#endif