include/xapian/types.h

Go to the documentation of this file.
00001 
00004 /*
00005  * ----START-LICENCE----
00006  * Copyright 1999,2000,2001 BrightStation PLC
00007  * Copyright 2002 Ananova Ltd
00008  * Copyright 2002,2003 Olly Betts
00009  *
00010  * This program is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU General Public License as
00012  * published by the Free Software Foundation; either version 2 of the
00013  * License, or (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00023  * USA
00024  * -----END-LICENCE-----
00025  */
00026 
00027 /* Keep this file free from C++ style comments (//) so it can be used from C
00028  * (although it's probably no longer used from C) */
00029 
00030 #ifndef XAPIAN_INCLUDED_TYPES_H
00031 #define XAPIAN_INCLUDED_TYPES_H
00032 
00033 #ifdef __cplusplus
00034 namespace Xapian {
00035 #endif
00036 
00041 typedef unsigned int docid;
00042 
00044 typedef docid     doccount;
00045 
00047 typedef int          doccount_diff;
00048 
00050 typedef unsigned int termcount;
00051 
00053 typedef int          termcount_diff;
00054 
00059 typedef unsigned int termpos;
00060 
00062 typedef int          termpos_diff;
00063 
00065 typedef double       doclength;
00066 
00068 typedef unsigned int valueno;
00069 
00071 typedef int          valueno_diff;
00072 
00074 typedef double       weight;
00075 
00077 typedef int          percent;
00078 
00082 typedef unsigned int timeout;
00083 
00084 #ifdef __cplusplus
00085 }
00086 #endif
00087 
00088 #endif /* XAPIAN_INCLUDED_TYPES_H */

Documentation for Xapian (version 0.9.6).
Generated on 15 May 2006 by Doxygen 1.4.6.