xapian-core  1.4.21
chert_types.h
Go to the documentation of this file.
1 
4 /* Copyright 1999,2000,2001 BrightStation PLC
5  * Copyright 2002,2003,2004,2008,2009,2015 Olly Betts
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of the
10  * License, or (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, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20  * USA
21  */
22 
23 #ifndef OM_HGUARD_CHERT_TYPES_H
24 #define OM_HGUARD_CHERT_TYPES_H
25 
26 #include "internaltypes.h"
27 
28 typedef unsigned int chert_blocksize_t;
29 
40 typedef unsigned int chert_revision_number_t;
41 
46 typedef unsigned long long chert_tablesize_t;
47 
51 typedef unsigned int chert_doclen_t;
52 
57 #define CHERT_DEFAULT_BLOCK_SIZE 8192
58 
60 #define CHERT_MAX_DOCID Xapian::docid(0xffffffff)
61 
62 #endif /* OM_HGUARD_CHERT_TYPES_H */
unsigned int chert_revision_number_t
A type used to store a revision number for a table.
Definition: chert_types.h:40
unsigned long long chert_tablesize_t
A type used to store the number of entries in a table.
Definition: chert_types.h:46
unsigned int chert_blocksize_t
Definition: chert_types.h:28
unsigned int chert_doclen_t
An integer type for storing the length of a document - ie, the sum of the wdfs of the terms in the do...
Definition: chert_types.h:51
Types used internally.