Fix headers, ldb_includes.h is a private header,
[abartlet/samba.git/.git] / source4 / lib / ldb / ldb_map / ldb_map.h
index e40bb9cd7e3aadb5a9d02eb204fbf7c085ded130..3c1fe808957d435f87333e3944fe4616ac4a978b 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef __LDB_MAP_H__
 #define __LDB_MAP_H__
 
+#include "ldb_module.h"
+
 /* ldb_map is a skeleton LDB module that can be used for any other modules
  * that need to map attributes.
  *
@@ -67,7 +69,7 @@ struct ldb_map_attribute {
        } type;
        
        /* if set, will be called for search expressions that contain this attribute */
-       int (*convert_operator)(struct ldb_module *, TALLOC_CTX *ctx, struct ldb_parse_tree **new, const struct ldb_parse_tree *);
+       int (*convert_operator)(struct ldb_module *, TALLOC_CTX *ctx, struct ldb_parse_tree **ntree, const struct ldb_parse_tree *otree);
 
        union { 
                struct {
@@ -160,14 +162,12 @@ int map_search(struct ldb_module *module, struct ldb_request *req);
 int map_rename(struct ldb_module *module, struct ldb_request *req);
 int map_delete(struct ldb_module *module, struct ldb_request *req);
 int map_modify(struct ldb_module *module, struct ldb_request *req);
-int map_wait(struct ldb_handle *handle, enum ldb_wait_type type);
 
 #define LDB_MAP_OPS \
        .add            = map_add, \
        .modify         = map_modify, \
        .del            = map_delete, \
        .rename         = map_rename, \
-       .search         = map_search, \
-       .wait           = map_wait,
+       .search         = map_search,
 
 #endif /* __LDB_MAP_H__ */