diff options
Diffstat (limited to '')
-rw-r--r-- | vmime/security/sasl/SASLSocket.hpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/vmime/security/sasl/SASLSocket.hpp b/vmime/security/sasl/SASLSocket.hpp index 33487eba..e52911b4 100644 --- a/vmime/security/sasl/SASLSocket.hpp +++ b/vmime/security/sasl/SASLSocket.hpp @@ -59,13 +59,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; @@ -78,10 +79,10 @@ private: shared_ptr <net::socket> m_wrapped; byte_t* m_pendingBuffer; - size_type m_pendingPos; - size_type m_pendingLen; + size_t m_pendingPos; + size_t m_pendingLen; - char m_recvBuffer[65536]; + byte_t m_recvBuffer[65536]; }; |