]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPSchema.h
Merge remote branch 'origin/mdb.master'
[openldap] / contrib / ldapc++ / src / LDAPSchema.h
index 367e1fb0145a27cf358cf8131420440ba0ec5c39..a37a4389f812a1860430bc13f3fa2f6045cb7c8b 100644 (file)
@@ -1,12 +1,12 @@
+// $OpenLDAP$
 /*
- * Copyright 2003, OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2003-2012 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
 #ifndef LDAP_SCHEMA_H
 #define LDAP_SCHEMA_H
 
-#include <ldap.h>
 #include <string>
 #include <map>
 
@@ -44,8 +44,8 @@ class LDAPSchema{
          * Fill the object_classes map
         * @param oc description of one objectclass (string returned by search
         * command), in form:
-        * "( SuSE.YaST.OC:5 NAME 'userTemplate' SUP objectTemplate STRUCTURAL
-        *    DESC 'User object template' MUST ( cn ) MAY ( secondaryGroup ))"
+        * "( 1.2.3.4.5 NAME '<name>' SUP <supname> STRUCTURAL
+        *    DESC '<description>' MUST ( <attrtype> ) MAY ( <attrtype> ))"
          */
        void setObjectClasses (const StringList &oc);
 
@@ -53,7 +53,7 @@ class LDAPSchema{
          * Fill the attr_types map
         * @param at description of one attribute type
         *  (string returned by search command), in form:
-        * "( SuSE.YaST.Attr:19 NAME ( 'skelDir' ) DESC ''
+        * "( 1.2.3.4.6 NAME ( '<name>' ) DESC '<desc>'
         *    EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )"
          */
        void setAttributeTypes (const StringList &at);