diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-05 19:23:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-05 22:44:54 +0100 |
commit | b09718fef22ba6805482e85fd0b0e339f19d2324 (patch) | |
tree | 5e4db863caf55b96164f86b56ca6d5d53c4d11ac /lib/tevent/tevent_internal.h | |
parent | e240ca5bdd7e344ecce127997b67ca0a521e3ed8 (diff) | |
download | samba-b09718fef22ba6805482e85fd0b0e339f19d2324.tar.gz samba-b09718fef22ba6805482e85fd0b0e339f19d2324.tar.xz 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.h | 2 |
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, |