/* Extract.h
 * Extract the relevant information from a Z-Code story-file
 *  Musus Umbra 1997
 */

#ifndef extract_h
#define extract_h

/* These are the externally visible variables (deliberately given the same */
/* names as Frotz gives them :-)                                           */

extern int		h_version;			/* the Z-Code version */
extern int		h_release;			/* the 'release' byte of the header */
extern char		h_serial[6];		/* the 6 'serial#' characters NB: no \0 */
extern int		story_size;			/* bytesize of the story-file */

#define EXTRACT_SUCCESS   0x00
#define EXTRACT_OPENERROR 0x01
#define EXTRACT_READERROR 0x02
#define EXTRACT_BADHEADER 0x04

int extract_header_info( char *filenane );


#endif
