summaryrefslogtreecommitdiffstats
path: root/lib/libtdekrb/src/tdekrbclientsocket.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-26 15:43:45 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-26 15:43:45 -0500
commit249a46324f4f46a6c8afd11f74c8c73ede152184 (patch)
tree65ef4e06e7db679f96d29039066ee1ed712fb837 /lib/libtdekrb/src/tdekrbclientsocket.h
parentfbfb9b1a49003013f646f81b344d5d3a44255c44 (diff)
downloadulab-249a46324f4f46a6c8afd11f74c8c73ede152184.tar.gz
ulab-249a46324f4f46a6c8afd11f74c8c73ede152184.zip
Add skeleton for missing functions in tde kerberos library
Diffstat (limited to 'lib/libtdekrb/src/tdekrbclientsocket.h')
-rw-r--r--lib/libtdekrb/src/tdekrbclientsocket.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libtdekrb/src/tdekrbclientsocket.h b/lib/libtdekrb/src/tdekrbclientsocket.h
index d0eb018..f1330a4 100644
--- a/lib/libtdekrb/src/tdekrbclientsocket.h
+++ b/lib/libtdekrb/src/tdekrbclientsocket.h
@@ -25,6 +25,7 @@
#define N_CALLBACKS 3
+class TQBuffer;
class SASLDataPrivate;
class TDEKerberosClientSocket : public TQSocket
@@ -37,6 +38,12 @@ class TDEKerberosClientSocket : public TQSocket
bool open(int mode);
void close();
+ void flush();
+ Offset size() const;
+ Offset at() const;
+ bool at(Offset off);
+ bool atEnd() const;
+
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);
@@ -53,13 +60,14 @@ class TDEKerberosClientSocket : public TQSocket
void sendSASLDataToNetwork(const char *buffer, unsigned length, int netfd);
int getSASLDataFromNetwork(char *buf, int trunclen);
int transmitEncryptedData(int fd, const char* readbuf, int cc);
- int receiveEncryptedData(char *buf, int trunclen);
+ int receiveEncryptedData(char *buf, unsigned int trunclen);
private:
bool m_kerberosRequested;
TQString m_serviceName;
TQString m_serverFQDN;
int m_criticalSection;
+ TQBuffer* m_buffer;
private:
SASLDataPrivate *saslData;