2 * $Id: file.h,v 1.8 2009-10-13 22:55:37 didg Exp $
4 * Copyright (c) 1990,1991 Regents of The University of Michigan.
5 * All Rights Reserved. See COPYRIGHT.
11 #include <sys/cdefs.h>
15 struct state *pf_xstate;
25 #define PF_QUERY (1<<2)
27 #define PF_TRANSLATE (1<<4)
29 #define CONSUME( pf, len ) { (pf)->pf_data += (len); \
30 (pf)->pf_datalen -= (len); \
31 if ((pf)->pf_datalen <= 0) { \
32 (pf)->pf_data = (pf)->pf_buf; \
33 (pf)->pf_datalen = 0; \
37 #define PF_MORESPACE 1024
39 int markline ( struct papfile *, char **, int *, int * );
40 void morespace ( struct papfile *, const char *, int );
41 void append ( struct papfile *, const char *, int );
42 void spoolerror ( struct papfile *, char * );
44 #endif /* PAPD_FILE_H */