diff options
Diffstat (limited to 'APACHE_1_3_42/src/lib/sdbm/sdbm_tune.h')
-rw-r--r-- | APACHE_1_3_42/src/lib/sdbm/sdbm_tune.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/APACHE_1_3_42/src/lib/sdbm/sdbm_tune.h b/APACHE_1_3_42/src/lib/sdbm/sdbm_tune.h new file mode 100644 index 0000000000..7ed7dda9b4 --- /dev/null +++ b/APACHE_1_3_42/src/lib/sdbm/sdbm_tune.h @@ -0,0 +1,26 @@ +/* + * sdbm - ndbm work-alike hashed database library + * tuning and portability constructs [not nearly enough] + * author: oz@nexus.yorku.ca + */ + +#define BYTESIZ 8 + +/* + * important tuning parms (hah) + */ + +#define SEEDUPS /* always detect duplicates */ +#define BADMESS /* generate a message for worst case: + cannot make room after SPLTMAX splits */ +/* + * misc + */ +#ifdef DEBUG +#define debug(x) printf x +#else +#define debug(x) +#endif + +int sdbm_fd_lock(int fd, int readonly); +int sdbm_fd_unlock(int fd); |