]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/tools/ldif2index-bdb2.c
Updated some items
[openldap] / servers / slapd / tools / ldif2index-bdb2.c
index 1c7f5331b221e806f18cd1fc11641297a62244b3..ff427aab9e1eda926a3673dfe007b1cbd49bec0c 100644 (file)
@@ -108,7 +108,7 @@ main( int argc, char **argv )
        li = (struct ldbminfo *) be->be_private;
        li->li_dbcachewsync = 0;
 
-       attr_masks( be->be_private, attr, &indexmask, &syntaxmask );
+       bdb2i_attr_masks( be->be_private, attr, &indexmask, &syntaxmask );
        if ( indexmask == 0 ) {
                exit( 0 );
        }
@@ -160,7 +160,7 @@ main( int argc, char **argv )
                                        if ( strcasecmp( type, attr ) == 0 ) {
                                                bv.bv_val = val;
                                                bv.bv_len = vlen;
-                                               index_add_values( be, attr,
+                                               bdb2i_index_add_values( be, attr,
                                                    vals, id );
                                        }
                                }