summaryrefslogtreecommitdiffstats
path: root/lib/libtdekrb/src/tdekrbserversocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtdekrb/src/tdekrbserversocket.h')
-rw-r--r--lib/libtdekrb/src/tdekrbserversocket.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libtdekrb/src/tdekrbserversocket.h b/lib/libtdekrb/src/tdekrbserversocket.h
index 73bb6fa..61e6255 100644
--- a/lib/libtdekrb/src/tdekrbserversocket.h
+++ b/lib/libtdekrb/src/tdekrbserversocket.h
@@ -49,9 +49,13 @@ class TDEKerberosServerSocket : public TQSocket
void flush();
Offset size() const;
Offset at() const;
- bool at(Offset off);
+ bool at(Offset off, int hidebasehack=0);
bool atEnd() const;
+ int getch();
+ int putch(int);
+ int ungetch(int);
+
TQ_LONG readBlock(char *data, TQ_ULONG maxlen);
TQ_LONG writeBlock(const char *data, TQ_ULONG len);
TQ_LONG readLine(char *data, TQ_ULONG maxlen);
@@ -74,9 +78,9 @@ class TDEKerberosServerSocket : public TQSocket
private:
int initializeKerberosInterface();
void freeKerberosConnection();
- void sendSASLDataToNetwork(const char *buffer, unsigned length, int netfd);
+ void sendSASLDataToNetwork(const char *buffer, unsigned length);
int getSASLDataFromNetwork(char *buf, int trunclen, bool shouldblock=true);
- int transmitEncryptedData(int fd, const char* readbuf, int cc);
+ int transmitEncryptedData(const char* readbuf, int cc);
int receiveEncryptedData(char *buf, unsigned int trunclen, bool shouldblock=true);
void setStatusMessage(TQString message);