mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
28 lines
546 B
C
28 lines
546 B
C
|
|
/*
|
||
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
||
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||
|
|
*/
|
||
|
|
|
||
|
|
// $Id: LDAPModification.h,v 1.3 2000/08/31 17:43:49 rhafer Exp $
|
||
|
|
|
||
|
|
#ifndef LDAP_MODIFICATION_H
|
||
|
|
#define LDAP_MODIFICATION_H
|
||
|
|
|
||
|
|
#include <ldap.h>
|
||
|
|
#include "LDAPAttribute.h"
|
||
|
|
|
||
|
|
class LDAPModification{
|
||
|
|
public:
|
||
|
|
enum mod_op {OP_ADD, OP_DELETE, OP_REPLACE};
|
||
|
|
|
||
|
|
LDAPModification(const LDAPAttribute& attr, mod_op op);
|
||
|
|
LDAPMod *toLDAPMod() const;
|
||
|
|
|
||
|
|
private:
|
||
|
|
LDAPAttribute m_attr;
|
||
|
|
mod_op m_mod_op;
|
||
|
|
|
||
|
|
};
|
||
|
|
#endif //LDAP_MODIFICATION_H
|
||
|
|
|