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