/* bpl.h
 *	last ed. 910117
 */

typedef unsigned char UCHAR;
typedef unsigned long ULONG;
typedef unsigned short UWORD;

/* application parameters
 */
typedef struct fname_list {
	struct fname_list *next;
	char name[1];
} FNAME_LIST;

typedef struct {
	int verbose;
	int append_mode;
	int my_bps;
	int maskchar;
	int est_interval;
	int flags;
	UCHAR *dirname;
	FNAME_LIST *fnlist;
} APPL_PARAM;

#define FLAGS_FORCE 0x01
#define FLAGS_APPEND 0x02
#define FLAGS_SKIPENQ 0x04
#define FLAGS_ONLY_ONCE 0x08
#define	FLAGS_RESUME 0x10
#define FLAGS_FLY 0x100
#define FLAGS_UPLOAD 0x200
#define	FLAGS_INITIATOR 0x400
#define FLAGS_BINARY 0x800
#define FLAGS_SETFTIME 0x1000

#undef JAPANESE
/* #define DEBUG */
#define	WITH_RESUME
#define WITH_INITIATOR
