#include "slap.h"
#include "ldap_pvt.h"
+#include "ldap_pvt_uc.h"
int schema_init_done = 0;
static int
objectClassMatch(
int *matchp,
- unsigned flags,
+ slap_mask_t flags,
Syntax *syntax,
MatchingRule *mr,
struct berval *value,
static int
structuralObjectClassMatch(
int *matchp,
- unsigned flags,
+ slap_mask_t flags,
Syntax *syntax,
MatchingRule *mr,
struct berval *value,
/* we should only be called once after schema_init() was called */
assert( schema_init_done == 1 );
+ ucdata_load( global_ucdata_path ? global_ucdata_path :
+ SLAPD_DEFAULT_UCDATA, UCDATA_CASE|UCDATA_CTYPE|UCDATA_NUM );
+
for( i=0; oc_map[i].ssom_name; i++ ) {
ObjectClass ** ocp = (ObjectClass **)
&(((char *) &slap_schema)[oc_map[i].ssom_offset]);