Add tevent_req_notify_callback
[ira/wip.git] / lib / tevent / tevent.h
index 6c5df6321a5be6d972bc7588ed33f639773401ef..2cbd175e73f5add07af71dc6ba13466864d7fd19 100644 (file)
@@ -252,6 +252,10 @@ bool tevent_req_set_endtime(struct tevent_req *req,
                            struct tevent_context *ev,
                            struct timeval endtime);
 
+void _tevent_req_notify_callback(struct tevent_req *req, const char *location);
+#define tevent_req_notify_callback(req)                \
+       _tevent_req_notify_callback(req, __location__)
+
 void _tevent_req_done(struct tevent_req *req,
                      const char *location);
 #define tevent_req_done(req) \