home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d7xx
/
d797
/
psutils.lha
/
PSUtils
/
psutil.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-10
|
784b
|
44 lines
/* psutil.h
* AJCD 29/1/91
* utilities for PS programs
*/
#include <stdio.h>
#include <ctype.h> /* added by J. Luo for compiling on IBM-RT/PC machines */
#ifndef LOCAL
#define LOCAL extern
#endif
#define TMPDIR "/tmp"
#define MAXPAGES 5000 /* max pages in document */
LOCAL char *prog;
LOCAL long pageptr[MAXPAGES];
LOCAL int pages;
LOCAL int verbose;
LOCAL FILE *infile;
LOCAL FILE *outfile;
LOCAL FILE *seekable();
LOCAL int fcopy();
LOCAL writepage();
LOCAL seekpage();
LOCAL writepageheader();
LOCAL writepagebody();
LOCAL writeheader();
LOCAL writeprolog();
LOCAL writetrailer();
LOCAL writeemptypage();
LOCAL scanpages();
LOCAL writestring();
LOCAL message();
#ifdef _DCC
#define getpid() 0
#else
extern long ftell();
#endif
extern long lseek();
extern char *getenv();