2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 // $Id: LDAPAttributeList.h,v 1.5 2000/08/31 17:43:48 rhafer Exp $
8 #ifndef LDAP_ATTRIBUTE_LIST_H
9 #define LDAP_ATTRIBUTE_LIST_H
13 #include "LDAPAttribute.h"
14 #include "LDAPAsynConnection.h"
15 #include "LDAPMessage.h"
17 typedef list<LDAPAttribute> AttrList;
19 class LDAPAttributeList{
24 LDAPAttributeList(const LDAPAsynConnection *ld, LDAPMessage *msg);
25 LDAPAttributeList(const LDAPAttributeList& al);
28 void addAttribute(const LDAPAttribute& attr);
29 void find(char* name);
30 LDAPMod** toLDAPModArray();
32 friend ostream& operator << (ostream& s, const LDAPAttributeList& al);
34 #endif // LDAP_ATTRIBUTE_LIST_H