File: dbtest.h

package info (click to toggle)
db 2%3A2.4.14-2.7.7.1.c
  • links: PTS
  • area: main
  • in suites: potato
  • size: 12,716 kB
  • ctags: 9,382
  • sloc: ansic: 35,556; tcl: 8,564; cpp: 4,890; sh: 2,075; makefile: 1,723; java: 1,632; sed: 419; awk: 153; asm: 41
file content (47 lines) | stat: -rw-r--r-- 1,541 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 1996, 1997, 1998
 *	Sleepycat Software.  All rights reserved.
 *
 *	@(#)dbtest.h	10.5 (Sleepycat) 4/10/98
 */

extern int debug_on, debug_print, debug_test;

void debug_check __P((void));
int process_am_options __P((Tcl_Interp *, int, char **, DB_INFO **));
int process_env_options __P((Tcl_Interp *, int, char **, DB_ENV **));

#define	DB_ENV_FLAGS \
"\n\
\t-cachesize <size of main memory buffer cache>\n\
\t-config <{name val} pairs>\n\
\t-conflicts <conflict matrix>\n\
\t-detect <deadlock detector mode>\n\
\t-dbenv <db environment cookie>\n\
\t-dbflags <flags to db_appinit>\n\
\t-dbhome <db home directory>\n\
\t-flags <bitmasks>\n\
\t-maxlocks <maximum number of locks in lock table>\n\
\t-maxsize <maximum log file size before changing files>\n\
\t-maxtxns <maximum number of concurrent transactions>\n\
\t-nmodes <number of lock modes>\n\
\t-shmem <shared memory type>"

#define DB_INFO_FLAGS \
"\n\
\t-cachesize <size of main memory buffer cache>\n\
\t-compare <btree comparison function>\n\
\t-ffactor <hash table page fill factor>\n\
\t-flags <bitmask>\n\
\t-hash <hash function>\n\
\t-minkey <minimum number of keys per btree page>\n\
\t-nelem <expected number of elements in table>\n\
\t-order <byte-order>\n\
\t-prefix <btree prefix function>\n\
\t-psize <file pagesize>\n\
\t-recdelim <recno record delimiter character>\n\
\t-reclen <recno record length>\n\
\t-recpad <recno record pad character>\n\
\t-recsrc <recno backing byte stream file>"