summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-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 866b062d06..9f0613feaa 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -619,17 +619,17 @@ struct ldb_async_handle {
struct ldb_search {
const struct ldb_dn *base;
enum ldb_scope scope;
- struct ldb_parse_tree *tree;
+ const struct ldb_parse_tree *tree;
const char * const *attrs;
struct ldb_result *res;
};
struct ldb_add {
- struct ldb_message *message;
+ const struct ldb_message *message;
};
struct ldb_modify {
- struct ldb_message *message;
+ const struct ldb_message *message;
};
struct ldb_delete {
@@ -647,7 +647,7 @@ struct ldb_register_control {
struct ldb_request {
- int operation;
+ enum ldb_request_type operation;
union {
struct ldb_search search;