lib ldb: rename ltdb_parse_data_unpack_ctx
[gd/samba-autobuild/.git] / lib / ldb / ldb_tdb / ldb_search.c
index b3eafeb7533671e869467f72350aef4f67d6c482..0138f9262b20dd8716ff21e8f86d4a22c3a1a776 100644 (file)
@@ -175,7 +175,7 @@ int ldb_kv_search_base(struct ldb_module *module,
        return LDB_ERR_NO_SUCH_OBJECT;
 }
 
-struct ltdb_parse_data_unpack_ctx {
+struct ldb_kv_parse_data_unpack_ctx {
        struct ldb_message *msg;
        struct ldb_module *module;
        unsigned int unpack_flags;
@@ -185,7 +185,7 @@ static int ldb_kv_parse_data_unpack(struct ldb_val key,
                                    struct ldb_val data,
                                    void *private_data)
 {
-       struct ltdb_parse_data_unpack_ctx *ctx = private_data;
+       struct ldb_kv_parse_data_unpack_ctx *ctx = private_data;
        unsigned int nb_elements_in_db;
        int ret;
        struct ldb_context *ldb = ldb_module_get_ctx(ctx->module);
@@ -241,7 +241,7 @@ int ldb_kv_search_key(struct ldb_module *module,
                      unsigned int unpack_flags)
 {
        int ret;
-       struct ltdb_parse_data_unpack_ctx ctx = {
+       struct ldb_kv_parse_data_unpack_ctx ctx = {
                .msg = msg,
                .module = module,
                .unpack_flags = unpack_flags