mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cleanup #includes, removed SUSE-specific stuff from comments
This commit is contained in:
parent
2c52832d1a
commit
98f63844c8
@ -3,11 +3,14 @@
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
|
||||
#include "debug.h"
|
||||
#include "StringList.h"
|
||||
#include "LDAPSchema.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <ldap.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "StringList.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
#ifndef LDAP_SCHEMA_H
|
||||
#define LDAP_SCHEMA_H
|
||||
|
||||
#include <ldap.h>
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
@ -44,8 +43,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 +52,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);
|
||||
|
Loading…
Reference in New Issue
Block a user