aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/net/tls/openssl/TLSSocket_OpenSSL.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/net/tls/openssl/TLSSocket_OpenSSL.hpp')
-rw-r--r--vmime/net/tls/openssl/TLSSocket_OpenSSL.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/vmime/net/tls/openssl/TLSSocket_OpenSSL.hpp b/vmime/net/tls/openssl/TLSSocket_OpenSSL.hpp
index b4ff5872..3dda9fa5 100644
--- a/vmime/net/tls/openssl/TLSSocket_OpenSSL.hpp
+++ b/vmime/net/tls/openssl/TLSSocket_OpenSSL.hpp
@@ -68,13 +68,14 @@ public:
bool isConnected() const;
void receive(string& buffer);
- size_type receiveRaw(char* buffer, const size_type count);
+ size_t receiveRaw(byte_t* buffer, const size_t count);
void send(const string& buffer);
- void sendRaw(const char* buffer, const size_type count);
- size_type sendRawNonBlocking(const char* buffer, const size_type count);
+ void send(const char* str);
+ void sendRaw(const byte_t* buffer, const size_t count);
+ size_t sendRawNonBlocking(const byte_t* buffer, const size_t count);
- size_type getBlockSize() const;
+ size_t getBlockSize() const;
unsigned int getStatus() const;
@@ -105,7 +106,7 @@ private:
bool m_connected;
- char m_buffer[65536];
+ byte_t m_buffer[65536];
shared_ptr <timeoutHandler> m_toHandler;