]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/LDAPModList.h
Initial check of the LDAP C++ SDK written by Ralf Haferkamp <rhafer@suse.de>
[openldap] / contrib / ldapc++ / src / LDAPModList.h
1 /*
2  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5
6 // $Id: LDAPModList.h,v 1.3 2000/08/31 17:43:49 rhafer Exp $
7
8 #ifndef LDAP_MOD_LIST_H
9 #define LDAP_MOD_LIST_H
10
11 #include <ldap.h>
12 #include <list>
13 #include "LDAPModification.h"
14
15 typedef list<LDAPModification> ModList;
16
17 class LDAPModList{
18         private : 
19                 ModList m_modList;
20
21         public : 
22                 LDAPModList();
23                 LDAPModList(const LDAPModList&);
24
25                 void addModification(const LDAPModification &mod);
26                 LDAPMod** toLDAPModArray();
27
28 };
29 #endif //LDAP_MOD_LIST_H
30
31