/* tcode.h * * This file contains the definitions for tftp termination codes * (returned by the tftp user program to its requester on termination). */ /* values for error codes in ERROR packets */ #define TUNDEF 0 /* Not defined, see error message (if any) */ #define TFNF 1 /* File not found */ #define TACESS 2 /* Access violation */ #define TFULL 3 /* Disc full or allocation exceeded */ #define TTFTP 4 /* Illegal TFTP operation */ #define TTID 5 /* Unknown transfer ID */ #define TLTO 6 /* Timeout occurred */ #define TNOUSR 7 /* Bad user id for mail */ #define MAXECODE TNOUSR #define TOK -1 /* success */ #define TFRWRD -2 /* mail is to be forwarded */ #define TDSTRB -3 /* mail sent to distribution list */ #define NOSAVE 0 /* flush mail file after error */ #define SAVE 1 /* save mail file after error */ #define SKIP 2 /* give up on this mail file */