source: tags/svn.1.5.4/ARBDB/gb_tune.h

Last change on this file was 6325, checked in by westram, 16 years ago
  • ARBDB
    • hide internal structures (GBDATA etc.) inside ARBDB. Fixed all layer violations
    • splitted up big header files into many. Did not reduce much internal dependencies, but at least there's some kind of semantic separation now.
    • moved many decls right into the .cxx file (if only used in one)
    • removed several duplicated type-names like
      typedef struct gb_main_type {
      ...
      } GB_MAIN_TYPE;
      
    • GB_HASHI → GB_NUMHASH + functions renamed
    • gb_assert no longer globally visible. replaced
    • fixed includes
    • local (ARBDB internal) headers all start with prefix 'gb_'
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : gb_tune.h                                         //
4//   Purpose   :                                                   //
5//                                                                 //
6//   Institute of Microbiology (Technical University Munich)       //
7//   http://www.arb-home.de/                                       //
8//                                                                 //
9// =============================================================== //
10
11#ifndef GB_TUNE_H
12#define GB_TUNE_H
13
14#define GB_RUNLENGTH_SIZE 6
15
16extern const int GBCM_BUFFER;                       // The communication buffer size
17extern const int GB_REMOTE_HASH_SIZE;               // The initial hash size in any client to find the database entry in the server
18extern const int GBM_MAX_UNINDEXED_ENTRIES;         // The maximum number fields with the same key which are not put together in one memory segment
19
20extern const int GB_TOTAL_CACHE_SIZE;               // Initial cache size in bytes
21extern const int GB_MAX_CACHED_ENTRIES;             // maximum number of cached items (Maximum 32000)
22
23extern const int GB_MAX_QUICK_SAVE_INDEX;           // Maximum extension-index of quick saves (Maximum 99)
24extern const int GB_MAX_QUICK_SAVES;                // maximum number of quick saves
25
26extern const int GB_MAX_LOCAL_SEARCH;               // Maximum number of children before doing a search in the database server
27
28extern const int GBTUM_SHORT_STRING_SIZE;           // the maximum strlen which is stored in short string format
29extern const int GB_HUFFMAN_MIN_SIZE;               // min length, before huffmann code is used
30extern const int GB_RUNLENGTH_MIN_SIZE;             // min length, before runlength code is used
31
32extern const int GB_MAX_REDO_CNT;                   // maximum number of redos
33extern const int GB_MAX_UNDO_CNT;                   // maximum number of undos
34extern const int GB_MAX_UNDO_SIZE;                  // total bytes used for undo
35
36
37#else
38#error gb_tune.h included twice
39#endif // GB_TUNE_H
Note: See TracBrowser for help on using the repository browser.