From b09718fef22ba6805482e85fd0b0e339f19d2324 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 5 Jan 2009 19:23:23 +0100 Subject: tevent: add tevent_context destructor that unlinks the events from the context metze --- lib/tevent/tevent_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/tevent/tevent_internal.h') diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h index f58bb90816..32be12c8d8 100644 --- a/lib/tevent/tevent_internal.h +++ b/lib/tevent/tevent_internal.h @@ -152,6 +152,8 @@ struct tevent_context { bool tevent_register_backend(const char *name, const struct tevent_ops *ops); +int tevent_common_context_destructor(struct tevent_context *ev); + int tevent_common_fd_destructor(struct tevent_fd *fde); struct tevent_fd *tevent_common_add_fd(struct tevent_context *ev, TALLOC_CTX *mem_ctx, -- cgit