aboutsummaryrefslogtreecommitdiffstats
path: root/winvnc
diff options
context:
space:
mode:
authorDennis Syrovatsky <dennis@tightvnc.com>2005-11-17 05:10:23 +0000
committerDennis Syrovatsky <dennis@tightvnc.com>2005-11-17 05:10:23 +0000
commit5d25b197f454e3c630c9300b92da9aa466721206 (patch)
tree4cf05347dfd683fb34b4f92d9c17b944b521f822 /winvnc
parent32635653403eca59291392afc4383be1cf59808d (diff)
downloadtigervnc-5d25b197f454e3c630c9300b92da9aa466721206.tar.gz
tigervnc-5d25b197f454e3c630c9300b92da9aa466721206.zip
Added readBytes and writeBytes methods to file transfers routine
in the winvnc project. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@406 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'winvnc')
-rw-r--r--winvnc/SFTMsgReader.cxx6
-rw-r--r--winvnc/SFTMsgReader.h3
-rw-r--r--winvnc/SFTMsgWriter.cxx6
-rw-r--r--winvnc/SFTMsgWriter.h3
4 files changed, 18 insertions, 0 deletions
diff --git a/winvnc/SFTMsgReader.cxx b/winvnc/SFTMsgReader.cxx
index 14c1c4ad..95aca3dc 100644
--- a/winvnc/SFTMsgReader.cxx
+++ b/winvnc/SFTMsgReader.cxx
@@ -33,6 +33,12 @@ SFTMsgReader::~SFTMsgReader()
{
}
+bool
+SFTMsgReader::readBytes(unsigned int dataSize, void *pData)
+{
+ return false;
+}
+
int
SFTMsgReader::readFileListRqst(unsigned char *pFlags, char *pDirName, bool bDirOnly)
{
diff --git a/winvnc/SFTMsgReader.h b/winvnc/SFTMsgReader.h
index 6c5abf38..07fb49f2 100644
--- a/winvnc/SFTMsgReader.h
+++ b/winvnc/SFTMsgReader.h
@@ -49,6 +49,9 @@ namespace winvnc {
char *pOldName, char *pNewName);
int readFileDeleteRqst(char *pName);
+
+ private:
+ bool readBytes(unsigned int dataSize, void *pData);
};
}
diff --git a/winvnc/SFTMsgWriter.cxx b/winvnc/SFTMsgWriter.cxx
index bf6e4d14..0ade9ea3 100644
--- a/winvnc/SFTMsgWriter.cxx
+++ b/winvnc/SFTMsgWriter.cxx
@@ -34,6 +34,12 @@ SFTMsgWriter::~SFTMsgWriter()
}
bool
+SFTMsgWriter::writeBytes(unsigned int dataSize, void *pData)
+{
+ return false;
+}
+
+bool
SFTMsgWriter::writeFileListData(unsigned char flags, rfb::FileInfo *pFileInfo)
{
return false;
diff --git a/winvnc/SFTMsgWriter.h b/winvnc/SFTMsgWriter.h
index 034590fc..c19a8678 100644
--- a/winvnc/SFTMsgWriter.h
+++ b/winvnc/SFTMsgWriter.h
@@ -42,6 +42,9 @@ namespace winvnc {
bool writeFileDirSizeData(DWORD64 dw64DirSize);
bool writeFileLastRqstFailed(unsigned char lastRequest, unsigned short reasonLen,
char *pReason);
+
+ private:
+ bool writeBytes(unsigned int dataSize, void *pData);
};
}