home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
program
/
compiler
/
nasm20b
/
nasm_src
/
lib.h
< prev
next >
Wrap
Text File
|
1993-01-19
|
1KB
|
47 lines
/* ---------------------------------------------------------------------- */
/* 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;