00001 /* configuration header */ 00002 /* $Amigan: fakedbfs/include/fakedbfs/fdbfsconfig.h,v 1.4 2006/01/28 22:35:33 dcp1990 Exp $ */ 00003 00004 #ifndef HAVE_FDBFSCONFIG_H 00005 00006 #ifdef HAVE_CONFIG 00007 #include "../config.h" 00008 #else 00009 00010 # if defined(UNIX) 00011 # define PREFIX "/usr/local" 00012 # define LIBPATH PREFIX "/lib/fakedbfs" 00013 # endif 00014 00015 # if defined(AMIGA) 00016 # define PREFIX "FakeDBFS:" 00017 # define LIBPATH "FakeDBFS:lib/plugins" 00018 # endif 00019 00020 # if defined(WIN32) 00021 # define PREFIX "C:/FAKEDBFS" 00022 # define LIBPATH PREFIX "/PLUGINS" 00023 # endif 00024 00025 #endif 00026 00027 #define DEFAULT_STACKSIZE 30 /* don't make this less than the max. number of fields you have, plus others, 00028 plus at least 1 for the fields_t* after a step (maybe more if you're lazy and 00029 don't pop it off right after! */ 00030 00031 #define CRAWLFRAME_MAX 20 /* this takes a LOT of memory...this many crawlframe_t's per directory frame...it's just a tradeoff between being able to 00032 crawl more directories or using less memory....once the hybrid system is finished (depth and breadth), this will be 00033 less of an issue */ 00034 #define BUSY_RETRIES 3 /* number of times to retry upon a trappable SQLITE_BUSY exception...don't make this 00035 too big! */ 00036 #endif
1.4.6