r20582: use void *data in the ldb_extended struct to match what we have in ldb_control
authorStefan Metzmacher <metze@samba.org>
Sat, 6 Jan 2007 09:25:54 +0000 (09:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:37:07 +0000 (14:37 -0500)
add a request element for extended requests

metze
(This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe)

source4/lib/ldb/include/ldb.h

index 8a31720eeacb5c3d8d32946f7c8bc00087fddfde..63cfb04fdd4e6a1f1bf249b75ef72d4b40d77bb2 100644 (file)
@@ -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;