source: tags/arb-6.0/ARBDB/gb_dict.h

Last change on this file was 6325, checked in by westram, 15 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_'
File size: 966 bytes
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : gb_dict.h                                         //
4//   Purpose   :                                                   //
5//                                                                 //
6//   Institute of Microbiology (Technical University Munich)       //
7//   http://www.arb-home.de/                                       //
8//                                                                 //
9// =============================================================== //
10
11#ifndef GB_DICT_H
12#define GB_DICT_H
13
14typedef int GB_NINT;                                // Network byte order int
15
16struct GB_DICTIONARY {
17    int            words;
18    int            textlen;
19    unsigned char *text;
20    GB_NINT       *offsets;
21    GB_NINT       *resort;
22};
23
24#else
25#error gb_dict.h included twice
26#endif // GB_DICT_H
Note: See TracBrowser for help on using the repository browser.