mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Hide internal use only constructor
This commit is contained in:
parent
d85e24dfa3
commit
35f19eac28
@ -48,6 +48,8 @@ static void checkOpt( TlsOptions::tls_option opt, opttype type ) {
|
||||
}
|
||||
}
|
||||
|
||||
TlsOptions::TlsOptions() : m_ld(NULL) {}
|
||||
|
||||
TlsOptions::TlsOptions( LDAP* ld ): m_ld(ld) { }
|
||||
|
||||
void TlsOptions::setOption( tls_option opt, const std::string& value ) const {
|
||||
|
@ -24,7 +24,7 @@ class TlsOptions {
|
||||
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;
|
||||
@ -48,8 +48,11 @@ class TlsOptions {
|
||||
};
|
||||
|
||||
private:
|
||||
TlsOptions( LDAP* ld );
|
||||
void newCtx() const;
|
||||
LDAP *m_ld;
|
||||
LDAP *m_ld;
|
||||
|
||||
friend class LDAPAsynConnection;
|
||||
};
|
||||
|
||||
#endif /* TLS_OPTIONS_H */
|
||||
|
Loading…
Reference in New Issue
Block a user