Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / protocols / ace / INet / SSL_CallbackManager.inl
blob41b22e1cf8475a532975df6e59841261a1a305a1
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 namespace ACE
6   namespace INet
7   {
9     ACE_INLINE
10     const ACE_SSL_Context* SSL_CallbackManager::context () const
11       {
12         return this->ssl_ctx_;
13       }
15     ACE_INLINE
16     void SSL_CallbackManager::set_certificate_callback (ACE::INet::SSL_CertificateCallback* cb)
17       {
18         this->cert_callback_.reset (cb);
19       }
21     ACE_INLINE
22     void SSL_CallbackManager::set_password_callback (ACE::INet::SSL_PasswordCallback* cb)
23       {
24         this->passwd_callback_.reset (cb);
25       }
27   }
30 ACE_END_VERSIONED_NAMESPACE_DECL