Annotation of researchv10dc/ipc/h/ftp.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Definitions for FTP
                      3:  * See RFC-765
                      4:  */
                      5: 
                      6: /*
                      7:  * Reply codes.
                      8:  */
                      9: #define PRELIM         1       /* positive preliminary */
                     10: #define COMPLETE       2       /* positive completion */
                     11: #define CONTINUE       3       /* positive intermediate */
                     12: #define TRANSIENT      4       /* transient negative completion */
                     13: #define ERROR          5       /* permanent negative completion */
                     14: 
                     15: /*
                     16:  * Type codes
                     17:  */
                     18: #define        TYPE_A          1       /* ASCII */
                     19: #define        TYPE_E          2       /* EBCDIC */
                     20: #define        TYPE_I          3       /* image */
                     21: #define        TYPE_L          4       /* local byte size */
                     22: 
                     23: /*
                     24:  * Form codes
                     25:  */
                     26: #define        FORM_N          1       /* non-print */
                     27: #define        FORM_T          2       /* telnet format effectors */
                     28: #define        FORM_C          3       /* carriage control (ASA) */
                     29: 
                     30: /*
                     31:  * Structure codes
                     32:  */
                     33: #define        STRU_F          1       /* file (no record structure) */
                     34: #define        STRU_R          2       /* record structure */
                     35: #define        STRU_P          3       /* page structure */
                     36: 
                     37: /*
                     38:  * Mode types
                     39:  */
                     40: #define        MODE_S          1       /* stream */
                     41: #define        MODE_B          2       /* block */
                     42: #define        MODE_C          3       /* compressed */
                     43: 
                     44: /*
                     45:  * Record Tokens
                     46:  */
                     47: #define        REC_ESC         '\377'  /* Record-mode Escape */
                     48: #define        REC_EOR         '\001'  /* Record-mode End-of-Record */
                     49: #define REC_EOF                '\002'  /* Record-mode End-of-File */
                     50: 
                     51: /*
                     52:  * Block Header
                     53:  */
                     54: #define        BLK_EOR         0x80    /* Block is End-of-Record */
                     55: #define        BLK_EOF         0x40    /* Block is End-of-File */
                     56: #define BLK_ERRORS     0x20    /* Block is suspected of containing errors */
                     57: #define        BLK_RESTART     0x10    /* Block is Restart Marker */
                     58: 
                     59: #define        BLK_BYTECOUNT   2       /* Bytes in this block */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.