root/libutil/conf.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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  * @file
  27  * Access library for @FILE{gtags.conf} (@FILE{.globalrc}).
  28  * File format is a subset of @NAME{XXXcap} (@NAME{termcap}, @NAME{printcap}) file.
  29  */
  30 #define GTAGSCONF       "/etc/gtags.conf"
  31 
  32                                 /** for compatibility */
  33 #define OLD_GTAGSCONF   "/etc/global.conf"
  34 #define DEBIANCONF      "/etc/gtags/gtags.conf"
  35 
  36                                 /** for compatibility */
  37 #define OLD_DEBIANCONF  "/etc/gtags/global.conf"
  38 #define GTAGSRC         ".globalrc"
  39 #ifdef __DJGPP__
  40 #define DOS_GTAGSRC     "_globalrc"
  41 #endif
  42 #define DEFAULTLABEL    "default"
  43 
  44 void openconf(void);
  45 int getconfn(const char *, int *);
  46 int getconfs(const char *, STRBUF *);
  47 int getconfb(const char *);
  48 const char *getconfline(void);
  49 void closeconf(void);
  50 
  51 #endif /* ! _CONF_H_ */

/* [previous][next][first][last][top][bottom][index][help] */