#include "slap.h"
#include "back-ldbm.h"
+#ifndef SLAPD_SCHEMA_NOT_COMPAT
static int change_value(Backend *be,
DBCache *db,
int
(*idl_func)(Backend *, DBCache *, Datum, ID));
static int index2prefix(int indextype);
+#endif
int
index_add_entry(
Entry *e
)
{
+#ifndef SLAPD_SCHEMA_NOT_COMPAT
Attribute *ap;
struct berval bv;
struct berval *bvals[2];
Debug( LDAP_DEBUG_TRACE, "<= index_add( %ld, \"%s\" ) 0\n", e->e_id,
e->e_ndn, 0 );
+#endif
return( 0 );
}
-
+#ifndef SLAPD_SCHEMA_NOT_COMPAT
ID_BLOCK *
index_read(
Backend *be,
return( rc );
-}/* static int change_value() */
-
+}
+#endif
int
index_change_values(
return( 0 );
}
+#ifndef SLAPD_SCHEMA_NOT_COMPAT
static int
index2prefix( int indextype )
{
return( prefix );
}
+#endif
\ No newline at end of file