X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fldapc%2B%2B%2Fsrc%2FLDAPConnection.h;h=5428e8e230b6ac9efe302068b322b4bcba82bf15;hb=55060f6b1f23c6e4276d8e10ef73eaf1f2a3ab3a;hp=15f3ae8fe683b8251383a651f6cfddcc3698e8b5;hpb=93529d26c5b0866a38e35613305fc7bc373171e3;p=openldap diff --git a/contrib/ldapc++/src/LDAPConnection.h b/contrib/ldapc++/src/LDAPConnection.h index 15f3ae8fe6..5428e8e230 100644 --- a/contrib/ldapc++/src/LDAPConnection.h +++ b/contrib/ldapc++/src/LDAPConnection.h @@ -1,6 +1,6 @@ // $OpenLDAP$ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -89,6 +89,10 @@ class LDAPConnection : private LDAPAsynConnection { */ void bind(const std::string& dn="", const std::string& passwd="", LDAPConstraints* cons=0); + void saslInteractiveBind(const std::string& mech, + int flags=0, + SaslInteractionHandler *sih=0, + const LDAPConstraints *cons=0); /** * Performs the UNBIND-operation on the destination server @@ -231,6 +235,7 @@ class LDAPConnection : private LDAPAsynConnection { void setConstraints(LDAPConstraints *cons); const LDAPConstraints* getConstraints() const ; + TlsOptions getTlsOptions() const; }; #endif //LDAP_CONNECTION_H