home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GRIPS 2: Government Rast…rocessing Software & Data
/
GRIPS_2.cdr
/
dos
/
imcomp
/
diskio.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-12-29
|
791b
|
31 lines
/* ========================================================================
diskio.h
========================================================================
*/
#ifdef DISKIO
#ifndef DISKIOH
#define DISKIOH
typedef unsigned long ulong;
typedef struct
{
char type;
char flags;
ulong length;
ulong comment; /* offset to comment field */
ulong comsiz;
ulong misc; /* ..misc stuff */
ulong miscsiz;
ulong data; /* ..data field */
ulong datasiz;
} RT1HEADER;
extern char fileExt[];
VAL *writehead();
extern char *strcpy(), *strcat();
#define DEFMODE (O_WRONLY|O_CREAT|O_BINARY)
#define TGAMODE (O_WRONLY|O_BINARY)
#define FNAM(s,s1) strcat(strcpy((s),(s1)),fileExt)
#define ANYFNAM(s,s1,ext) strcat(strcpy((s),(s1)),(ext))
#endif
#endif