OSDN Git Service

clean
[putex/putex.git] / src / texsourc / ourpaths.h
1 /* ourpaths.h: declarations for path searching.  The `...PATH' constants
2    are used both as indices and just as enumeration values.  Their
3    values must match the initialization of `env_var_names'.  The
4    `...PATHBIT' constants are used in the argument to `set_paths'.
5
6    Copyright 1992 Karl Berry
7    Copyright 2007 TeX Users Group
8
9    This program is free software; you can redistribute it and/or modify
10    it under the terms of the GNU General Public License as published by
11    the Free Software Foundation; either version 2 of the License, or
12    (at your option) any later version.
13
14    This program is distributed in the hope that it will be useful, but
15    WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17    General Public License for more details.
18
19    You should have received a copy of the GNU General Public License
20    along with this program; if not, write to the Free Software
21    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22    02110-1301 USA.  */
23
24 #ifndef OURPATHS_H
25 #define OURPATHS_H
26
27 typedef enum
28 {
29   /* This constant is used in BibTeX, when opening the top-level .aux file.  */
30   NO_FILE_PATH = -1,
31   BIBINPUTPATH,
32   BSTINPUTPATH,
33   GFFILEPATH,
34   MFBASEPATH,
35   MFINPUTPATH,
36   MFPOOLPATH,
37   PKFILEPATH,
38   TEXFORMATPATH,
39   TEXINPUTPATH,
40   TEXPOOLPATH,
41   TFMFILEPATH,
42   VFFILEPATH,
43   LAST_PATH
44 } path_constant_type;
45
46 #define BIBINPUTPATHBIT (1 << BIBINPUTPATH)
47 #define BSTINPUTPATHBIT (1 << BSTINPUTPATH)
48 #define GFFILEPATHBIT   (1 << GFFILEPATH)
49 #define MFBASEPATHBIT   (1 << MFBASEPATH)
50 #define MFINPUTPATHBIT  (1 << MFINPUTPATH)
51 #define MFPOOLPATHBIT   (1 << MFPOOLPATH)
52 #define PKFILEPATHBIT   (1 << PKFILEPATH)
53 #define TEXFORMATPATHBIT (1 << TEXFORMATPATH)
54 #define TEXINPUTPATHBIT (1 << TEXINPUTPATH)
55 #define TEXPOOLPATHBIT  (1 << TEXPOOLPATH)
56 #define TFMFILEPATHBIT  (1 << TFMFILEPATH)
57 #define VFFILEPATHBIT   (1 << VFFILEPATH)
58
59 #endif /* not OURPATHS_H */