From bc4821a4ce06317219a6c801f99f3fe9a470f1ce Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 6 Jan 2007 09:25:54 +0000 Subject: r20582: use void *data in the ldb_extended struct to match what we have in ldb_control add a request element for extended requests metze (This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe) --- source4/lib/ldb/include/ldb.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 8a31720eea..63cfb04fdd 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -683,8 +683,7 @@ struct ldb_result { struct ldb_extended { const char *oid; - const char *value; - int value_len; + void *data; }; struct ldb_reply { @@ -714,7 +713,7 @@ struct ldb_add { const struct ldb_message *message; }; -struct ldb_modify { +struct ldb_modify { const struct ldb_message *message; }; @@ -756,9 +755,10 @@ struct ldb_request { struct ldb_modify mod; struct ldb_delete del; struct ldb_rename rename; + struct ldb_extended extended; + struct ldb_sequence_number seq_num; struct ldb_register_control reg_control; struct ldb_register_partition reg_partition; - struct ldb_sequence_number seq_num; } op; struct ldb_control **controls; -- cgit