mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
messaging3: Remove unused messaging_tdb_event
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Jan 21 10:07:21 CET 2014 on sn-devel-104
This commit is contained in:
parent
9801072ce2
commit
c427b29be9
@ -101,9 +101,6 @@ 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);
|
||||
|
@ -77,16 +77,6 @@ static void messaging_tdb_signal_handler(struct tevent_context *ev_ctx,
|
||||
message_dispatch(ctx->msg_ctx);
|
||||
}
|
||||
|
||||
void *messaging_tdb_event(TALLOC_CTX *mem_ctx, struct messaging_context *msg,
|
||||
struct tevent_context *ev)
|
||||
{
|
||||
struct messaging_tdb_context *msg_tdb = talloc_get_type_abort(
|
||||
msg->local->private_data, struct messaging_tdb_context);
|
||||
|
||||
return tevent_add_signal(ev, mem_ctx, SIGUSR1, 0,
|
||||
messaging_tdb_signal_handler, msg_tdb);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Initialise the messaging functions.
|
||||
****************************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user