00001 /* 00002 * libfid - Full-text Index Data structure library 00003 * Copyright (C) 2007, 2008 Robert Homann 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00018 * MA 02110-1301 USA 00019 */ 00020 00021 #ifndef OPTIONS_H 00022 #define OPTIONS_H 00023 /*!\addtogroup options Library configuration 00024 * The behavior of the library can be influencent by setting an environment 00025 * variable, whose name is defined by #FID_OPTIONS_VARNAME. See the 00026 * documentation for fid_options_parse() to find a list of values it may 00027 * take. */ 00028 /*@{*/ 00029 00030 /*!\brief Name of environment variable parsed by \e libfid. */ 00031 #define FID_OPTIONS_VARNAME "FID_OPTIONS" 00032 00033 /*!\internal */ 00034 extern int fid_options_prefetch; 00035 00036 /*!\internal */ 00037 extern int fid_options_smart_prefetch; 00038 00039 #ifdef __cplusplus 00040 extern "C" { 00041 #endif 00042 void fid_options_parse(void); 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 /*@}*/ 00047 00048 #endif /* !OPTIONS_H */