diff options
Diffstat (limited to 'lib/libtdekrb/src/tdekrbserversocket.h')
-rw-r--r-- | lib/libtdekrb/src/tdekrbserversocket.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libtdekrb/src/tdekrbserversocket.h b/lib/libtdekrb/src/tdekrbserversocket.h index 0d71faf..80c84fd 100644 --- a/lib/libtdekrb/src/tdekrbserversocket.h +++ b/lib/libtdekrb/src/tdekrbserversocket.h @@ -58,9 +58,9 @@ class TDEKerberosServerSocket : public TQSocket int initializeKerberosInterface(); void freeKerberosConnection(); void sendSASLDataToNetwork(const char *buffer, unsigned length, int netfd); - int getSASLDataFromNetwork(char *buf, int trunclen); + int getSASLDataFromNetwork(char *buf, int trunclen, bool shouldblock=true); int transmitEncryptedData(int fd, const char* readbuf, int cc); - int receiveEncryptedData(char *buf, unsigned int trunclen); + int receiveEncryptedData(char *buf, unsigned int trunclen, bool shouldblock=true); protected: TQString m_authenticatedUserName; @@ -73,6 +73,7 @@ class TDEKerberosServerSocket : public TQSocket int m_criticalSection; TQBuffer* m_buffer; long m_bufferLength; + bool* m_canary; private: SASLDataPrivate *saslData; |