1 /*
2  * Copyright (c) 1998, 1999, 2000, 2001, 2002, 2003
3  *	Tama Communications Corporation
4  *
5  * This file is part of GNU GLOBAL.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef _CONF_H_
22 #define _CONF_H_
23 
24 #include "strbuf.h"
25 /*
26  * Access library for "gtags.conf" (".globalrc").
27  * File format is a subset of XXXcap (termcap, printcap) file.
28  */
29 #define GTAGSCONF       "/etc/gtags.conf"
30 #define DEBIANCONF      "/etc/gtags/gtags.conf"
31 #define GTAGSRC 	".globalrc"
32 #ifdef __DJGPP__
33 #define DOS_GTAGSRC	"_globalrc"
34 #endif
35 #define DEFAULTLABEL    "default"
36 
37 void openconf(const char *);
38 int getconfn(const char *, int *);
39 int getconfs(const char *, STRBUF *);
40 int getconfb(const char *);
41 const char *getconfline(void);
42 const char *getconfigpath(void);
43 const char *getconfiglabel(void);
44 void closeconf(void);
45 
46 #endif /* ! _CONF_H_ */
47