/*
	FS1541

	packet.h

*/

void DoPackets(void);

extern int inhibited;

/* This structure is used both as the one stored in fh_Arg1 of our
   filehandles as well as for passing around data about files internally. */
struct FHArg1 {
	BPTR lock;
	ULONG len, len0;
	ULONG pos;
	UBYTE t,s,p;
	UBYTE t0,s0;
	UBYTE number;
	UWORD numblocks;
};

#define FLKEY_SPECIALMASK 0xf0000
#define FLKEY_SPECIALSHIFT 16

#define FLKEY_DOLLAR 0x10000
#define VIRTUAL_FILE_DOLLAR "$"
#define FLKEY_D64 0x20000
#define VIRTUAL_FILE_D64 "$d64"
#define FLKEY_DISKINFO 0x30000
#define VIRTUAL_FILE_DISKINFO "Disk.info"
#define FLKEY_OPT 0x40000
#define VIRTUAL_FILE_OPT "$opt"

#define NUM_VIRTUAL 255
