Lines Matching defs:DB

30  * space that DB doesn't control, but all of the other solutions are worse.
48 * DB needs basic information about specifically sized types. If they're
76 #define DB_VERSION_STRING "Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)"
88 struct __db; typedef struct __db DB;
132 * DB run-time interface configuration.
138 #define DB_FUNC_DIRFREE 2 /* DB: free directory list. */
139 #define DB_FUNC_DIRLIST 3 /* DB: create directory list. */
140 #define DB_FUNC_EXISTS 4 /* DB: return if file exists. */
143 #define DB_FUNC_IOINFO 7 /* DB: return file I/O information. */
145 #define DB_FUNC_MAP 9 /* DB: map file into shared memory. */
149 #define DB_FUNC_RUNLINK 13 /* DB: remove a shared region. */
151 #define DB_FUNC_SLEEP 15 /* DB: sleep secs/usecs. */
153 #define DB_FUNC_UNMAP 17 /* DB: unmap shared memory file. */
155 #define DB_FUNC_YIELD 19 /* DB: yield thread to scheduler. */
156 #define DB_MUTEXLOCKS 20 /* DB: turn off all mutex locks. */
157 #define DB_PAGEYIELD 21 /* DB: yield the CPU on pool get. */
158 #define DB_REGION_ANON 22 /* DB: anonymous, unnamed regions. */
159 #define DB_REGION_INIT 23 /* DB: page-fault regions in create. */
160 #define DB_REGION_NAME 24 /* DB: anonymous, named regions. */
161 #define DB_TSL_SPINS 25 /* DB: initialize spin count. */
171 #define DB_THREAD 0x000004 /* Free-thread DB package handles. */
201 #define DB_TRUNCATE 0x020000 /* O_TRUNCATE: replace existing DB. */
272 #define DB_ENV_CDB 0x02 /* Concurrent DB product. */
346 * DB access method and cursor operation values. Each value is an operation
378 * DB (user visible) error return codes.
394 /* DB (private) error return codes. */
400 #define DB_FILE_ID_LEN 20 /* DB file ID length. */
402 /* DB access method description structure. */
407 DBTYPE type; /* DB access method. */
448 int (*am_close) __P((DB *));
449 int (*close) __P((DB *, u_int32_t));
450 int (*cursor) __P((DB *, DB_TXN *, DBC **, u_int32_t));
451 int (*del) __P((DB *, DB_TXN *, DBT *, u_int32_t));
452 int (*fd) __P((DB *, int *));
453 int (*get) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
454 int (*join) __P((DB *, DBC **, u_int32_t, DBC **));
455 int (*put) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
456 int (*stat) __P((DB *, void *, void *(*)(size_t), u_int32_t));
457 int (*sync) __P((DB *, u_int32_t));
468 #define DB_AM_THREAD 0x000200 /* DB is multi-threaded. */
479 struct __db_ilock { /* Internal DB access method lock. */
486 DB *dbp; /* Related DB access method. */
578 DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **));
582 DBTYPE, u_int32_t, int, DB_INFO *, DB **));
765 int log_register __P((DB_LOG *, DB *, const char *, DBTYPE, u_int32_t *));
933 * Translate DBM calls into DB calls so that DB doesn't step on the
949 /* Prototype the DB calls. */
968 * Translate NDBM calls into DB calls so that DB doesn't step on the
984 /* Prototype the DB calls. */
1017 * Translate HSEARCH calls into DB calls so that DB doesn't step on the
1024 /* Prototype the DB calls. */