blob: 2ff437b08eb42e170b656800aa6f1576371ab3f3 [file] [log] [blame]
Dennis Syrovatsky613f7c82005-12-18 14:24:06 +00001/* Copyright (C) 2005 TightVNC Team. All Rights Reserved.
2 *
3 * This is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This software is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this software; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16 * USA.
17 *
18 * TightVNC distribution homepage on the Web: http://www.tightvnc.com/
19 *
20 */
21
22// -=- SFTMsgReader.cxx
23
24#include <rfb/SFTMsgReader.h>
25
26using namespace rfb;
27
28SFTMsgReader::SFTMsgReader(rdr::InStream *pIS)
29{
30 m_pIS = pIS;
31}
32
33SFTMsgReader::~SFTMsgReader()
34{
35}
36
37bool
38SFTMsgReader::readFileListRqst(unsigned int *pDirNameSize, char *pDirName,
39 unsigned int *pFlags, bool *bDirOnly)
40{
41 return false;
42}
43
44bool
45SFTMsgReader::readFileDownloadRqst(unsigned int *pFilenameSize, char *pFilename,
46 unsigned int *pPosition)
47{
48 return false;
49}
50
51bool
52SFTMsgReader::readFileUploadRqst(unsigned int *pFilenameSize, char *pFilename,
53 unsigned int *pPosition)
54{
55 return false;
56}
57
58void *
59SFTMsgReader::readFileUploadData(unsigned int *pDataSize, unsigned int *pModTime)
60{
61 return NULL;
62}
63
64bool
65SFTMsgReader::readFileCreateDirRqst(unsigned int *pDirNameSize, char *pDirName)
66{
67 return false;
68}
69
70bool
71SFTMsgReader::readFileDirSizeRqst(unsigned int *pDirNameSize, char *pDirName)
72{
73 return false;
74}
75
76bool
77SFTMsgReader::readFileDeleteRqst(unsigned int *pNameSize, char *pName)
78{
79 return false;
80}
81
82bool readFileRenameRqst(unsigned int *pOldNameSize, unsigned int *pNewNameSize,
83 char *pOldName, char *pNewName)
84{
85 return false;
86}
87
88char *
89SFTMsgReader::readFileDownloadCancel(unsigned int *pReasonSize)
90{
91 return NULL;
92}
93
94char *
95SFTMsgReader::readFileUploadFailed(unsigned int *pReasonSize)
96{
97 return NULL;
98}
99
100bool
101SFTMsgReader::readU8U16StringMsg(unsigned int *pReasonSize, char *pReason)
102{
103 return false;
104}