/* ---------------------------------------------------------------------- */
/*                   Copyright (C) 1991 by Natrlich!                     */
/*                      This file is copyrighted!                         */
/*                Refer to the documentation for details.                 */
/* ---------------------------------------------------------------------- */
#define LIBMAGIC     0xCECCC9C2L    /* spells NLIB */

#if OS == MSDOS            /* keep it to >= than 0x1000                            */
# define MAXGLOBALS  1000  /* sorry, but you should have bought an ST */
#else
# define MAXGLOBALS  4000   
#endif
#define MAXFILES     100    

#define OP_ADD       0
#define OP_DELETE    1
#define OP_EXTRACT   2
#define OP_CREATE    3
#define OP_UPDATE    4
#define OP_LIST      5

typedef struct
{
   lword    magic;
   word     version, revision;
   lword    gbytes,
            xbytes,
            cbytes;
} lib_h;

typedef struct
{
   char     name[ SIGNIFICANT];
   word     index;
} g_table;


typedef struct
{
   char     name[ FSIGNIFICANT];  /* 32 Should be plenty for non-paths */
   lword    seek;
   lword    bytes;
   word     time,
            date;
} f_table;

