00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef OM_HGUARD_QUARTZ_TYPES_H
00023 #define OM_HGUARD_QUARTZ_TYPES_H
00024
00025 typedef unsigned char byte;
00026
00027 #ifndef SIZEOF_INT
00028 # error SIZEOF_INT is not defined
00029 #endif
00030 #ifndef SIZEOF_LONG
00031 # error SIZEOF_LONG is not defined
00032 #endif
00033 #if SIZEOF_INT >= 4
00034 typedef unsigned int uint4;
00035 #elif SIZEOF_LONG >= 4
00036 typedef unsigned long uint4;
00037 #else
00038 # error Type long is less than 32 bits, which ISO does not allow!
00039 #endif
00040
00041 typedef unsigned int quartz_blocksize_t;
00042
00053 typedef unsigned int quartz_revision_number_t;
00054
00059 typedef unsigned int quartz_tablesize_t;
00060
00064 typedef unsigned int quartz_doclen_t;
00065
00069 typedef unsigned long long int quartz_totlen_t;
00070
00075 #define QUARTZ_BTREE_DEF_BLOCK_SIZE 8192
00076
00077 #endif