]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPEntry.cpp
added support for deleting attribute type from the list of attributes
[openldap] / contrib / ldapc++ / src / LDAPEntry.cpp
index 19b99a1e9463d7ab63a75f8d5ee172272510276f..bdf7fa8f2e1715053909fd1660a23b6c583be0f8 100644 (file)
@@ -88,6 +88,11 @@ void LDAPEntry::addAttribute(const LDAPAttribute& attr)
     m_attrs->addAttribute(attr);
 }
 
+void LDAPEntry::delAttribute(const std::string& type)
+{
+    m_attrs->delAttribute(type);
+}
+
 void LDAPEntry::replaceAttribute(const LDAPAttribute& attr)
 {
     m_attrs->replaceAttribute(attr);