Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Net/TFTP/TFTP_design.hpp File Reference

Go to the source code of this file.

Compounds

class  Buffer
struct  StringData_t
class  TFTP
struct  tftp_ack_t
struct  tftp_data_t
struct  tftp_error_t
struct  tftp_optext_t
struct  tftp_rrq_wrq_t
class  TFTPAckPacket
class  TFTPDataPacket
class  TFTPErrorPacket
class  TFTPfile
class  TFTPpacket
class  TFTPRequestPacket

Defines

#define printError(s)   sprintf( stderr, char* s )
#define TFTP_RRQ_WRQ_INIT   { 1 , NULL, 0, NULL, 0 }
#define TFTP_OPTEXT_INIT   { NULL, 0, NULL, 0}
#define TFTP_DATA_INIT   { 3, 0, NULL }
#define TFTP_ACK_INIT   { 4, 0 }
#define TFTP_ERROR_INIT   { 5, 0, NULL, 0 }

Enumerations

enum  tftp_error_code_t {
  NotDefined = 0, FileNotFound = 1, AccessViolation = 2, DiskFull = 3,
  AllocationExceed = 3, IllegalOperation = 4, UnknownTransferID = 5, FileAlreadyExists = 6,
  NoSuchUser = 7
}
enum  tftp_opcode {
  ReadRequest = 1, WriteRequest = 2, Data = 3, Acknowledgement = 4,
  Error = 5
}

Variables

TFTP_Option option
tftp_rrq_wrq_t rrq_wrq
StringData_t tftp_error_msg [8]


Define Documentation

#define TFTP_ACK_INIT   { 4, 0 }
 

Definition at line 182 of file TFTP_design.hpp.

#define TFTP_DATA_INIT   { 3, 0, NULL }
 

Definition at line 136 of file TFTP_design.hpp.

#define TFTP_ERROR_INIT   { 5, 0, NULL, 0 }
 

Definition at line 262 of file TFTP_design.hpp.

#define TFTP_OPTEXT_INIT   { NULL, 0, NULL, 0}
 

Definition at line 124 of file TFTP_design.hpp.

#define TFTP_RRQ_WRQ_INIT   { 1 , NULL, 0, NULL, 0 }
 

Definition at line 115 of file TFTP_design.hpp.

#define printError s       sprintf( stderr, char* s )
 

Definition at line 66 of file TFTP_design.hpp.


Enumeration Type Documentation

enum tftp_error_code_t
 

Enumeration values:
NotDefined 
FileNotFound 
AccessViolation 
DiskFull 
AllocationExceed 
IllegalOperation 
UnknownTransferID 
FileAlreadyExists 
NoSuchUser 

Definition at line 264 of file TFTP_design.hpp.

00264                        {
00265    NotDefined        = 0,
00266    FileNotFound      = 1,
00267    AccessViolation   = 2,
00268    DiskFull          = 3,
00269    AllocationExceed  = 3,
00270    IllegalOperation  = 4,
00271    UnknownTransferID = 5,
00272    FileAlreadyExists = 6,
00273    NoSuchUser        = 7
00274 };

enum tftp_opcode
 

Enumeration values:
ReadRequest 
WriteRequest 
Data 
Acknowledgement 
Error 

Definition at line 294 of file TFTP_design.hpp.

00294                  {
00295    ReadRequest     = 1,
00296    WriteRequest    = 2,
00297    Data            = 3,
00298    Acknowledgement = 4,
00299    Error           = 5
00300 };


Variable Documentation

TFTP_Option option
 

Definition at line 6 of file TFTP_design.hpp.

struct tftp_rrq_wrq_t rrq_wrq
 

StringData_t tftp_error_msg[8]
 

Initial value:

 {
    { "Not defined.", 12 },
    { "File not found", 14 },
    { "Access violation", 15 },
    { "Disk full", 9 },
    { "Allocation exceeded", 19},
    { "Illegal operation", 17 },
    { "Unknown transfer id", 19 },
    { "File already exists", 19 },
    { "No such user", 12 }
}

Definition at line 282 of file TFTP_design.hpp.


Generated on Sun Oct 14 18:47:45 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001