summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-06 09:25:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:07 -0500
commitbc4821a4ce06317219a6c801f99f3fe9a470f1ce (patch)
tree2da52c9b6e0eebd458a371d91b71446412a03cb8 /source4/lib/ldb
parentf29ea516f99a250765c8a718d7212577167f7931 (diff)
downloadsamba-bc4821a4ce06317219a6c801f99f3fe9a470f1ce.tar.gz
samba-bc4821a4ce06317219a6c801f99f3fe9a470f1ce.tar.bz2
samba-bc4821a4ce06317219a6c801f99f3fe9a470f1ce.zip
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)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/include/ldb.h8
1 files changed, 4 insertions, 4 deletions
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;