1 /* 2 * UAE - The Un*x Amiga Emulator 3 * 4 * routines to handle compressed file automatically 5 * 6 * (c) 1996 Samuel Devulder 7 */ 8 9 struct zfile; 10 11 extern struct zfile *zfile_open (const char *, const char *); 12 extern int zfile_fclose (struct zfile *); 13 extern int zfile_fseek (struct zfile *z, long offset, int mode); 14 extern long zfile_ftell (struct zfile *z); 15 extern size_t zfile_fread (void *b, size_t l1, size_t l2, struct zfile *z); 16 extern size_t zfile_fwrite (void *b, size_t l1, size_t l2, struct zfile *z); 17 extern void zfile_exit (void); 18