r792: - changed the ldb ldif_* functions to be in the ldb_ namespace
[kamenim/samba.git] / source4 / lib / ldb / tools / ldbmodify.c
index 828b7d4865f1f15a852e3547eaed7a9f92e34a61..b6ca2993ce139e74b2f1b55c62b4a814294770ab 100644 (file)
@@ -54,7 +54,7 @@ static int process_file(struct ldb_context *ldb, FILE *f)
        struct ldb_ldif *ldif;
        int ret = -1, count = 0;
        
-       while ((ldif = ldif_read_file(ldb, f))) {
+       while ((ldif = ldb_ldif_read_file(ldb, f))) {
                switch (ldif->changetype) {
                case LDB_CHANGETYPE_NONE:
                case LDB_CHANGETYPE_ADD:
@@ -74,7 +74,7 @@ static int process_file(struct ldb_context *ldb, FILE *f)
                } else {
                        count++;
                }
-               ldif_read_free(ldb, ldif);
+               ldb_ldif_read_free(ldb, ldif);
        }
 
        return count;