tevent: add tevent_context destructor that unlinks the events from the context
[kai/samba-autobuild/.git] / lib / tevent / tevent_internal.h
index f58bb90816f9ed9ca8cb033c7db7a3f6ad3c9fe2..32be12c8d882307e1a04c9d0e6ecca7476945635 100644 (file)
@@ -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,