pc_file.h 459 B

123456789101112131415161718192021222324
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. #define WRBIT 0100000
  7. #define TXTBIT 040000
  8. #define EOFBIT 020000
  9. #define ELNBIT 010000
  10. #define WINDOW 04000
  11. #define MAGIC 0252
  12. #define PC_BUFLEN 1024
  13. struct file {
  14. char *ptr;
  15. unsigned flags;
  16. char *fname;
  17. int ufd;
  18. int size;
  19. int count;
  20. int buflen;
  21. char bufadr[PC_BUFLEN];
  22. };