2 * $Id: file.h,v 1.6 2001-06-25 20:13:45 rufustfirefly 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;
24 #define PF_QUERY (1<<2)
26 #define CONSUME( pf, len ) { (pf)->pf_data += (len); \
27 (pf)->pf_datalen -= (len); \
28 if ((pf)->pf_datalen <= 0) { \
29 (pf)->pf_data = (pf)->pf_buf; \
30 (pf)->pf_datalen = 0; \
34 #define PF_MORESPACE 1024
36 int markline __P(( struct papfile *, char **, int *, int * ));
37 void morespace __P(( struct papfile *, const char *, int ));
38 void append __P(( struct papfile *, const char *, int ));
39 void spoolerror __P(( struct papfile *, char * ));
41 #endif /* PAPD_FILE_H */