#ifndef __only_one_h
  #define __only_one_h

/* Definitionen, Exports, ... für ONLY-ONE */

#include "dntypes.h" /* for PACKED attr */

typedef struct
{
	char id[2] PACKED ;
	int entries PACKED ;
} ONLYONEHEADER ;

typedef struct
{
	char filename[1024] PACKED ;
	long startpos PACKED ;
	long length PACKED ;
} ONLYONE_ENTRY ;

extern long filestartpos, filelength;

extern FILE *open_file(const char *fname);

#endif /* defined (__only_one_h) */
