tlsopensslclient.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TLSOPENSSLCLIENT_H__
00016 #define TLSOPENSSLCLIENT_H__
00017
00018 #include "tlsopensslbase.h"
00019
00020 #include "config.h"
00021
00022 #ifdef HAVE_OPENSSL
00023
00024 #include <openssl/ssl.h>
00025
00026 namespace gloox
00027 {
00028
00035 class OpenSSLClient : public OpenSSLBase
00036 {
00037 public:
00043 OpenSSLClient( TLSHandler* th, const std::string& server );
00044
00048 virtual ~OpenSSLClient();
00049
00050 private:
00051
00052 virtual bool setType();
00053
00054
00055 virtual int handshakeFunction();
00056
00057 };
00058
00059 }
00060
00061 #endif // HAVE_OPENSSL
00062
00063 #endif // TLSOPENSSLCLIENT_H__