1987-03-10 09:24:02 +00:00
|
|
|
/* $Header$ */
|
1987-03-09 21:20:21 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1984-08-23 13:18:14 +00:00
|
|
|
#define WRBIT 0100000
|
|
|
|
#define TXTBIT 040000
|
|
|
|
#define EOFBIT 020000
|
|
|
|
#define ELNBIT 010000
|
|
|
|
#define WINDOW 04000
|
|
|
|
#define MAGIC 0252
|
|
|
|
|
1989-06-19 09:46:29 +00:00
|
|
|
#define PC_BUFLEN 1024
|
|
|
|
|
1984-08-23 13:18:14 +00:00
|
|
|
struct file {
|
|
|
|
char *ptr;
|
|
|
|
unsigned flags;
|
|
|
|
char *fname;
|
|
|
|
int ufd;
|
|
|
|
int size;
|
|
|
|
int count;
|
|
|
|
int buflen;
|
1989-06-19 09:46:29 +00:00
|
|
|
char bufadr[PC_BUFLEN];
|
1984-08-23 13:18:14 +00:00
|
|
|
};
|