]> git.sur5r.net Git - openldap/blobdiff - include/ldap_schema.h
added hasSubordinates to back-monitor
[openldap] / include / ldap_schema.h
index 5551b28dba02fc5cbc619c969389825326492966..9b8446a05b632257e464da2d1f698d57927e2eff 100644 (file)
@@ -12,6 +12,7 @@
 /*
  * ldap-schema.h - Header for basic schema handling functions that can be
  *             used by both clients and servers.
+ * these routines should be renamed ldap_x_...
  */
 
 #ifndef _LDAP_SCHEMA_H
@@ -115,7 +116,8 @@ typedef struct ldap_objectclass {
 #define LDAP_SCHEMA_ALLOW_QUOTED       0x02 /* Allow bogus extra quotes     */
 #define LDAP_SCHEMA_ALLOW_DESCR                0x04 /* Allow descr instead of OID   */
 #define LDAP_SCHEMA_ALLOW_DESCR_PREFIX 0x08 /* Allow descr as OID prefix    */
-#define LDAP_SCHEMA_ALLOW_ALL          0x0f /* Be very liberal in parsing   */
+#define LDAP_SCHEMA_ALLOW_OID_MACRO    0x10 /* Allow OID macros in slapd    */
+#define LDAP_SCHEMA_ALLOW_ALL          0x1f /* Be very liberal in parsing   */
 
 LDAP_F( LDAP_CONST char * )
 ldap_syntax2name LDAP_P((
@@ -194,23 +196,23 @@ ldap_str2matchingruleuse LDAP_P((
 
 LDAP_F( char * )
 ldap_objectclass2str LDAP_P((
-       LDAP_CONST LDAPObjectClass * oc ));
+       LDAPObjectClass * oc ));
 
 LDAP_F( char * )
 ldap_attributetype2str LDAP_P((
-       LDAP_CONST LDAPAttributeType * at ));
+       LDAPAttributeType * at ));
 
 LDAP_F( char * )
 ldap_syntax2str LDAP_P((
-       LDAP_CONST LDAPSyntax * syn ));
+       LDAPSyntax * syn ));
 
 LDAP_F( char * )
 ldap_matchingrule2str LDAP_P((
-       LDAP_CONST LDAPMatchingRule * mr ));
+       LDAPMatchingRule * mr ));
 
 LDAP_F( char * )
 ldap_matchingruleuse2str LDAP_P((
-       LDAP_CONST LDAPMatchingRuleUse * mru ));
+       LDAPMatchingRuleUse * mru ));
 
 LDAP_F( char * )
 ldap_scherr2str LDAP_P((