"Fossies" - the Fresh Open Source Software Archive

Member "tvnserver-2.0.4/ft-common/FTMessage.h" (3 Aug 2011, 3885 Bytes) of archive /windows/misc/tvnserver-2.0.4-src.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "FTMessage.h" see the Fossies "Dox" file reference documentation.

    1 // Copyright (C) 2008, 2009, 2010 GlavSoft LLC.
    2 // All rights reserved.
    3 //
    4 //-------------------------------------------------------------------------
    5 // This file is part of the TightVNC software.  Please visit our Web site:
    6 //
    7 //                       http://www.tightvnc.com/
    8 //
    9 // This program is free software; you can redistribute it and/or modify
   10 // it under the terms of the GNU General Public License as published by
   11 // the Free Software Foundation; either version 2 of the License, or
   12 // (at your option) any later version.
   13 //
   14 // This program is distributed in the hope that it will be useful,
   15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
   16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17 // GNU General Public License for more details.
   18 //
   19 // You should have received a copy of the GNU General Public License along
   20 // with this program; if not, write to the Free Software Foundation, Inc.,
   21 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   22 //-------------------------------------------------------------------------
   23 //
   24 
   25 #ifndef _FT_MESSAGE_TYPE_H_
   26 #define _FT_MESSAGE_TYPE_H_
   27 
   28 #include "util/inttypes.h"
   29 
   30 class FTMessage {
   31 public:
   32   const static char COMPRESSION_SUPPORT_REQUEST_SIG[];
   33   const static char COMPRESSION_SUPPORT_REPLY_SIG[];
   34   const static UINT32 COMPRESSION_SUPPORT_REQUEST = 0xFC000100;
   35   const static UINT32 COMPRESSION_SUPPORT_REPLY = 0xFC000101;
   36 
   37   const static char FILE_LIST_REQUEST_SIG[];
   38   const static char FILE_LIST_REPLY_SIG[];
   39   const static UINT32 FILE_LIST_REQUEST = 0xFC000102;
   40   const static UINT32 FILE_LIST_REPLY = 0xFC000103;
   41 
   42   const static char MD5_REQUEST_SIG[];
   43   const static char MD5_REPLY_SIG[];
   44   const static UINT32 MD5_REQUEST = 0xFC000104;
   45   const static UINT32 MD5_REPLY = 0xFC000105;
   46 
   47   const static char UPLOAD_START_REQUEST_SIG[];
   48   const static char UPLOAD_START_REPLY_SIG[];
   49   const static UINT32 UPLOAD_START_REQUEST = 0xFC000106;
   50   const static UINT32 UPLOAD_START_REPLY = 0xFC000107;
   51 
   52   const static char UPLOAD_DATA_REQUEST_SIG[];
   53   const static char UPLOAD_DATA_REPLY_SIG[];
   54   const static UINT32 UPLOAD_DATA_REQUEST = 0xFC000108;
   55   const static UINT32 UPLOAD_DATA_REPLY = 0xFC000109;
   56 
   57   const static char UPLOAD_END_REQUEST_SIG[];
   58   const static char UPLOAD_END_REPLY_SIG[];
   59   const static UINT32 UPLOAD_END_REQUEST = 0xFC00010A;
   60   const static UINT32 UPLOAD_END_REPLY = 0xFC00010B;
   61 
   62   const static char DOWNLOAD_START_REQUEST_SIG[];
   63   const static char DOWNLOAD_START_REPLY_SIG[];
   64   const static UINT32 DOWNLOAD_START_REQUEST = 0xFC00010C;
   65   const static UINT32 DOWNLOAD_START_REPLY = 0xFC00010D;
   66 
   67   const static char DOWNLOAD_DATA_REQUEST_SIG[];
   68   const static char DOWNLOAD_DATA_REPLY_SIG[];
   69   const static UINT32 DOWNLOAD_DATA_REQUEST = 0xFC00010E;
   70   const static UINT32 DOWNLOAD_DATA_REPLY = 0xFC00010F;
   71 
   72   const static char DOWNLOAD_END_REPLY_SIG[];
   73   const static UINT32 DOWNLOAD_END_REPLY = 0xFC000110;
   74 
   75   const static char MKDIR_REQUEST_SIG[];
   76   const static char MKDIR_REPLY_SIG[];
   77   const static UINT32 MKDIR_REQUEST = 0xFC000111;
   78   const static UINT32 MKDIR_REPLY = 0xFC000112;
   79 
   80   const static char REMOVE_REQUEST_SIG[];
   81   const static char REMOVE_REPLY_SIG[];
   82   const static UINT32 REMOVE_REQUEST = 0xFC000113;
   83   const static UINT32 REMOVE_REPLY = 0xFC000114;
   84 
   85   const static char RENAME_REQUEST_SIG[];
   86   const static char RENAME_REPLY_SIG[];
   87   const static UINT32 RENAME_REQUEST = 0xFC000115;
   88   const static UINT32 RENAME_REPLY = 0xFC000116;
   89 
   90   const static char DIRSIZE_REQUEST_SIG[];
   91   const static char DIRSIZE_REPLY_SIG[];
   92   const static UINT32 DIRSIZE_REQUEST = 0xFC000117;
   93   const static UINT32 DIRSIZE_REPLY = 0xFC000118;
   94 
   95   const static UINT32 LAST_REQUEST_FAILED_REPLY = 0xFC000119;
   96   const static char LAST_REQUEST_FAILED_REPLY_SIG[];
   97 };
   98 
   99 #endif