messaging3: Add messaging_handler_send/recv
authorVolker Lendecke <vl@samba.org>
Thu, 13 Nov 2014 11:25:40 +0000 (11:25 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 16 Dec 2014 17:56:03 +0000 (18:56 +0100)
commitcf2c12baa8a5031fbe419399e1a00e89c465cf52
tree8ddcde4b34f149437dd0ae05415af4cd9b9b93f8
parent28f750643bac2049eeeaab23d7d2d9a5a6256bcd
messaging3: Add messaging_handler_send/recv

This repeatedly listens on msg_type. It's similar to messaging_register
with talloc based autocleanup. The handler is free to talloc_move a way
the record for later use.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/messages.h
source3/lib/messages.c