cleanup #includes, removed SUSE-specific stuff from comments

This commit is contained in:
Ralf Haferkamp 2008-01-22 14:31:54 +00:00
parent 2c52832d1a
commit 98f63844c8
2 changed files with 8 additions and 6 deletions

View File

@ -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;

View File

@ -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);