summaryrefslogtreecommitdiffstats
path: root/lib/tevent/tevent.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-04 17:26:23 +0200
committerVolker Lendecke <vl@samba.org>2009-06-04 17:29:48 +0200
commitc6f39b46a7b0505331612a1bee15a82f97009f0d (patch)
tree1152329406cbe29522de74326a28e434eef64233 /lib/tevent/tevent.h
parent9dad0536d6e91cb993edd636f7659d2351d98000 (diff)
downloadsamba-c6f39b46a7b0505331612a1bee15a82f97009f0d.tar.gz
samba-c6f39b46a7b0505331612a1bee15a82f97009f0d.tar.xz
samba-c6f39b46a7b0505331612a1bee15a82f97009f0d.zip
Add tevent_req_notify_callback
This is necessary for requests that have multiple results. Examples would be SMBEcho and ldap_search.
Diffstat (limited to 'lib/tevent/tevent.h')
-rw-r--r--lib/tevent/tevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index 6c5df6321a5..2cbd175e73f 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -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) \