]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/LDAPControl.h
Initial check of the LDAP C++ SDK written by Ralf Haferkamp <rhafer@suse.de>
[openldap] / contrib / ldapc++ / src / LDAPControl.h
1 /*
2  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5
6 // $Id: LDAPControl.h,v 1.4 2000/08/31 17:43:48 rhafer Exp $
7
8 #ifndef LDAP_CONTROL_H
9 #define LDAP_CONTROL_H
10
11 #include <lber.h>
12
13 class LDAPCtrl{
14         private :
15                 char *m_oid;
16                 BerValue *m_data;
17                 bool m_isCritical;
18
19         public :
20                 LDAPCtrl(char *oid, bool critical,  char *value=0, int length=0);
21                 
22 };
23
24 #endif //LDAP_CONTROL_H