
/* Fancy numbers for xferstat() call types. */

#define XFER_START 1			/* start of file transfer session */
#define XFER_FILE 2			/* start of new file */
#define XFER_EOF 3			/* end of file */
#define XFER_DATA 4			/* protocol data block (normal) */
#define XFER_STATUS 5			/* protocol status */
#define XFER_ERROR 6			/* protocol error */
#define XFER_END 7			/* end of session */

/* Fancy numbers for protocol module. */

#define ASCII   1			/* guess */
#define XMODEM 	2			/* Volkswagen */
#define XMODEMC 3			/*   ditto CRC */
#define MODEM7 	4			/* modemers nightmare */
#define MODEM7C 5			/*   ditto CRC */
#define TELINK 	6			/* extended nightmare */
#define TELINKC 7			/*   ditto CRC */
#define KERMIT 	8			/* design by committee */
#define DIETIFNA 9			/* design by fire/flame */
#define ZMODEM 10			/* designed to work right */
#define FSC001X 11			/* FSC001 pure XMODEM/CRC */
#define FSC001T 12			/* FSC001 pure TELINK/CRC */

/* Protocol driver return codes */

#define OK 0		/* alls well */
#define TIMEOUT -1	/* timeout error */
#define ERROR -2	/* generic error */
#define ABORT -3	/* manually aborted */
#define DISKFULL -4	/* disk full error */
#define BADFILE -5	/* bad filename */

