ARB
gb_local.h
Go to the documentation of this file.
1 // =============================================================== //
2 // //
3 // File : gb_local.h //
4 // Purpose : declarations needed to include local prototypes //
5 // //
6 // Institute of Microbiology (Technical University Munich) //
7 // http://www.arb-home.de/ //
8 // //
9 // =============================================================== //
10 
11 #ifndef GB_LOCAL_H
12 #define GB_LOCAL_H
13 
14 #ifndef ARBDB_H
15 #include <arbdb.h>
16 #endif
17 
18 #define gb_assert(cond) arb_assert(cond)
19 
20 // ------------------
21 // constants
22 
23 #define GB_MAX_USERS 4
24 
25 #define GBTUM_MAGIC_NUMBER 0x17488400
26 #define GBTUM_MAGIC_NUMBER_FILTER 0xffffff00
27 #define GBTUM_MAGIC_REVERSED 0x00844817
28 
29 // ---------------------
30 // simple types
31 
32 typedef short GB_MAIN_IDX; // random-index
33 
34 // ------------------------------
35 // forward declare types
36 
37 struct GBDATA;
38 struct GBENTRY;
39 struct GBCONTAINER;
40 struct GB_MAIN_TYPE;
41 
42 struct gb_transaction_save;
43 struct gb_header_list;
44 struct gb_index_files;
45 
46 struct GB_DICTIONARY;
47 struct gb_compress_list;
48 struct gb_compress_tree;
49 
51 
52 struct gb_map_header;
53 
54 struct gb_scandir;
55 
56 struct gbcmc_comm;
57 
58 // -------------------
59 // enum types
60 
69 
70  _GBCMC_UNDOCOM_SET_MEM = 10000 // Minimum
71 };
72 
73 enum GB_CHANGE {
80 };
81 
91 };
92 
98 };
99 
100 // ------------------------------------------------------
101 // include generated local prototypes and macros
102 
103 #ifndef GB_PROT_H
104 #include "gb_prot.h"
105 #endif
106 
107 
108 #else
109 #error gb_local.h included twice
110 #endif // GB_LOCAL_H
GB_CHANGE
Definition: gb_local.h:73
gb_undo_commands
Definition: gb_local.h:61
GB_COMPRESSION_TYPES
Definition: gb_local.h:82
GBCM_ServerResult
Definition: gb_local.h:93
short GB_MAIN_IDX
Definition: gb_local.h:32