root/libutil/gparam.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 1997, 1998, 1999, 2000, 2007, 2008
   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 _GPARAM_H_
  22 #define _GPARAM_H_
  23 #ifndef __BORLANDC__
  24 #include <sys/param.h>
  25 #endif
  26 
  27                 /** max length of filter        */
  28 #define MAXFILLEN       1024
  29                 /** max length of ident         */
  30 #define IDENTLEN        512
  31                 /** max length of buffer        */
  32 #define MAXBUFLEN       1024
  33                 /** max length of property      */
  34 #define MAXPROPLEN      1024
  35                 /** max length of argument      */
  36 #define MAXARGLEN       512
  37                 /** max length of token         */
  38 #define MAXTOKEN        512
  39                 /** max length of fid           */
  40 #define MAXFIDLEN       32
  41 
  42 #ifndef MAXPATHLEN
  43                 /** max length of path          */
  44 #define MAXPATHLEN      1024
  45 #endif
  46                 /** max length of record key    */
  47 #define MAXKEYLEN       MAXPATHLEN
  48                 /** max length of URL           */
  49 #define MAXURLLEN       1024
  50 /*
  51  * The default cache size of db library is 50MB.
  52  * The minimum size is 500KB.
  53  */
  54                 /** default cache size 50MB     */
  55 #define GTAGSCACHE      50000000
  56                 /** minimum cache size 500KB    */
  57 #define GTAGSMINCACHE   500000
  58 
  59 #endif /* ! _GPARAM_H_ */

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