summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_internal.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-05 19:23:23 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-05 22:44:54 +0100
commitb09718fef22ba6805482e85fd0b0e339f19d2324 (patch)
tree5e4db863caf55b96164f86b56ca6d5d53c4d11ac /lib/tevent/tevent_internal.h
parente240ca5bdd7e344ecce127997b67ca0a521e3ed8 (diff)
downloadsamba-b09718fef22ba6805482e85fd0b0e339f19d2324.tar.gz
samba-b09718fef22ba6805482e85fd0b0e339f19d2324.tar.bz2
samba-b09718fef22ba6805482e85fd0b0e339f19d2324.zip
tevent: add tevent_context destructor that unlinks the events from the context
metze
Diffstat (limited to 'lib/tevent/tevent_internal.h')
-rw-r--r--lib/tevent/tevent_internal.h2
1 files changed, 2 insertions, 0 deletions
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,