/* schemaparse.c - routines to parse config file objectclass definitions */
/* $OpenLDAP$ */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2005 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
*/
#include "portable.h"
"OID could not be expanded",
"Duplicate Content Rule",
"Content Rule not for STRUCTURAL object class",
- "Content Rule AUX contains non-AUXILIARY object class"
+ "Content Rule AUX contains inappropriate object class",
"Content Rule attribute type list contains duplicate"
};
return 0;
}
-#ifdef SLAP_EXTENDED_SCHEMA
-
static void
cr_usage( void )
{
const char *fname,
int lineno,
char *line,
- char **argv
-)
+ char **argv )
{
LDAPContentRule *cr;
int code;
return 0;
}
-#endif
-
int
parse_oc(
const char *fname,
int lineno,
char *line,
- char **argv
-)
+ char **argv )
{
LDAPObjectClass *oc;
int code;
const char *fname,
int lineno,
char *line,
- char **argv
-)
+ char **argv )
{
LDAPAttributeType *at;
int code;