From 41712599e0f33096ccc81e7cd520e66dcf91a424 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 15 Feb 2012 13:53:07 +0100 Subject: s3: Add messaging_tdb_event() This is a void* that represents a signal handler attached to some custom tevent_context. This is necessary to make the tdb based messaging infrastructure trigger its business when we are sitting in tevent_loop_once for an event context that is not the main one in the messaging context. --- source3/include/messages.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/messages.h b/source3/include/messages.h index 2161a77d28..4b45901afd 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -98,6 +98,9 @@ NTSTATUS messaging_tdb_init(struct messaging_context *msg_ctx, bool messaging_tdb_parent_init(TALLOC_CTX *mem_ctx); +void *messaging_tdb_event(TALLOC_CTX *mem_ctx, struct messaging_context *msg, + struct tevent_context *ev); + NTSTATUS messaging_ctdbd_init(struct messaging_context *msg_ctx, TALLOC_CTX *mem_ctx, struct messaging_backend **presult); -- cgit