summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/util/util.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/server/util/util.h b/server/util/util.h
index c4e3e49d..e11bc51c 100644
--- a/server/util/util.h
+++ b/server/util/util.h
@@ -84,18 +84,9 @@ void debug_fn(const char *format, ...);
* should be used as tevent_req is rightfully opaque there */
#ifndef tevent_req_data
#define tevent_req_data(req, type) ((type *)req->private_state)
-#endif
-
-#ifndef tevent_req_set_callback
#define tevent_req_set_callback(req, func, data) \
do { req->async.fn = func; req->async.private_data = data; } while(0)
-#endif
-
-#ifndef tevent_req_callback_data
#define tevent_req_callback_data(req, type) ((type *)req->async.private_data)
-#endif
-
-#ifndef tevent_req_notify_callback
#define tevent_req_notify_callback(req) \
do { \
if (req->async.fn != NULL) { \