mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-15 03:14:24 -05:00
Hide internal use only constructor
This commit is contained in:
parent
d85e24dfa3
commit
35f19eac28
2 changed files with 7 additions and 2 deletions
|
|
@ -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 a new issue