home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3180 / psutil.h < prev    next >
C/C++ Source or Header  |  1991-04-10  |  663b  |  39 lines

  1. /* psutil.h
  2.  * AJCD 29/1/91
  3.  * utilities for PS programs
  4.  */
  5.  
  6. #include <stdio.h>
  7.  
  8. #ifndef LOCAL
  9. #define LOCAL extern
  10. #endif
  11.  
  12. #define TMPDIR "/tmp"
  13. #define MAXPAGES 5000 /* max pages in document */
  14.  
  15. LOCAL char *prog;
  16. LOCAL long pageptr[MAXPAGES];
  17. LOCAL int pages;
  18. LOCAL int verbose;
  19. LOCAL FILE *infile;
  20. LOCAL FILE *outfile;
  21.  
  22. LOCAL FILE *seekable();
  23. LOCAL int fcopy();
  24. LOCAL writepage();
  25. LOCAL seekpage();
  26. LOCAL writepageheader();
  27. LOCAL writepagebody();
  28. LOCAL writeheader();
  29. LOCAL writeprolog();
  30. LOCAL writetrailer();
  31. LOCAL writeemptypage();
  32. LOCAL scanpages();
  33. LOCAL writestring();
  34. LOCAL message();
  35.  
  36. extern long lseek();
  37. extern long ftell();
  38. extern char *getenv();
  39.