1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 02:06:38 +02:00

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2026-05-26 10:48:07 +01:00
5 changed files with 93 additions and 7 deletions
+10
View File
@@ -173,4 +173,14 @@ public:
* @param attributes The attributes to modify
*/
virtual void Modify(LDAPInterface *i, const Anope::string &base, LDAPMods &attributes) = 0;
/** Escapes a LDAP string for use in a DN.
* @param str The string to escape.
*/
virtual Anope::string EscapeDN(const Anope::string &str) const = 0;
/** Escapes a LDAP string for use in a search filter.
* @param str The string to escape.
*/
virtual Anope::string EscapeSF(const Anope::string &str) const = 0;
};