}
}
+TlsOptions::TlsOptions() : m_ld(NULL) {}
+
TlsOptions::TlsOptions( LDAP* ld ): m_ld(ld) { }
void TlsOptions::setOption( tls_option opt, const std::string& value ) const {
LASTOPT /* dummy */
};
- TlsOptions( LDAP* ld=NULL );
+ TlsOptions();
void setOption(tls_option opt, const std::string& value) const;
void setOption(tls_option opt, int value) const;
void setOption(tls_option opt, void *value) const;
};
private:
+ TlsOptions( LDAP* ld );
void newCtx() const;
- LDAP *m_ld;
+ LDAP *m_ld;
+
+ friend class LDAPAsynConnection;
};
#endif /* TLS_OPTIONS_H */