xref: /original-bsd/contrib/bib/src/bib.h (revision 264c46cb)
1 /*
2  *	@(#)bib.h	2.1	06/22/83
3  */
4 /*   various arguments for bib and listrefs processors */
5 
6 /* constants */
7 
8 # define true  1
9 # define false 0
10 # define err  -1
11 # define REFSIZE 1024                /* maximum size of reference string    */
12 
13 /* reference citation marker genrated in pass 1 */
14 
15 # define CITEMARK (char) 02
16 # define CITEEND  (char) 03
17 
18 /* file names */
19 
20         /* output of invert, input file for references */
21 # define INDXFILE "INDEX"
22         /* pass1 reference collection file */
23 # define TMPREFFILE  "/usr/tmp/bibrXXXXXX"
24         /* pass2 text collection file */
25 # define TMPTEXTFILE "/usr/tmp/bibpXXXXXX"
26         /* temp file used in invert */
27 # define INVTEMPFILE "/usr/tmp/invertXXXXXX"
28         /* common words */
29 # define COMFILE "/usr/lib/bmac/common"
30         /* default system dictionary */
31 # define SYSINDEX "/usr/dict/papers/INDEX"
32         /* where macro libraries live */
33 # define BMACLIB "/usr/lib/bmac"
34         /* default style of references */
35 # define DEFSTYLE "/usr/lib/bmac/bib.stdsn"
36 
37 /* size limits */
38 
39 	/* maximum number of characters in common file */
40 # define MAXCOMM 300
41 
42 char *malloc();
43