From 8d1b32083eb9f35b5e3de3354480aa5e0e8a76d1 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 21 Sep 2006 06:14:32 +0000 Subject: r18777: add helper functions to create an ldb_request structure (This used to be commit bcbe82873f2f0a4e2552ed27eb171028de4560a7) --- source4/lib/ldb/include/ldb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/lib/ldb/include') diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 124cba9b66..78d701689d 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -743,6 +743,7 @@ struct ldb_sequence_number { uint64_t seq_num; }; +typedef int (*ldb_request_callback_t)(struct ldb_context *, void *, struct ldb_reply *); struct ldb_request { enum ldb_request_type operation; @@ -761,7 +762,7 @@ struct ldb_request { struct ldb_control **controls; void *context; - int (*callback)(struct ldb_context *, void *, struct ldb_reply *); + ldb_request_callback_t callback; int timeout; time_t starttime; -- cgit