• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/BerkeleyDB-21/db/build_s60/

Lines Matching defs:DB

40  * Berkeley DB version information.
45 #define DB_VERSION_STRING "Berkeley DB 4.7.25: (May 15, 2008)"
49 * Berkeley DB uses specifically sized types. If they're not provided by
78 * DB modifies pointers by discarding the bottom bits to guarantee alignment.
117 struct __db; typedef struct __db DB;
167 * The Berkeley DB API flags are automatically-generated -- the following flag names are
370 * Internal DB access method lock.
810 * Structure used for two phase commit interface. Berkeley DB support for two
1035 DB *seq_dbp; /* DB handle for this sequence. */
1052 int (*get_db) __P((DB_SEQUENCE *, DB **));
1111 * DB access method and cursor operation values. Each value is an operation
1150 * DB (user visible) error return codes.
1157 /* DB (public) error return codes. */
1189 /* DB (private) error return codes. */
1204 #define DB_VERIFY_FATAL (-30886)/* DB->verify cannot proceed. */
1215 int (*db_append_recno) __P((DB *, DBT *, db_recno_t));
1216 void (*db_feedback) __P((DB *, int, int));
1217 int (*dup_compare) __P((DB *, const DBT *, const DBT *));
1222 * Private: owned by DB.
1227 DBTYPE type; /* DB access method type. */
1233 char *fname, *dname; /* File/database passed to DB->open. */
1234 u_int32_t open_flags; /* Flags passed to DB->open. */
1247 DB_LOCKER *associate_locker; /* Locker for DB->associate call. */
1256 * Returned data memory for DB->get() and friends.
1264 * Some applications use DB but implement their own locking outside of
1265 * DB. If they're using fcntl(2) locking on the underlying database
1267 * discard their locks. The DB_FCNTL_LOCKING flag to DB->open is an
1269 * descriptors we open until DB->close. This will only work with the
1270 * DB->open interface and simple caches, e.g., creating a transaction
1344 int (*s_callback) __P((DB *, const DBT *, const DBT *, DBT *));
1347 DB *s_primary;
1368 DB *s_foreign;
1370 /* API-private structure: used by DB 1.85, C++, Java, Perl and Tcl */
1379 /* DB PUBLIC HANDLE LIST BEGIN */
1380 int (*associate) __P((DB *, DB_TXN *, DB *,
1381 int (*)(DB *, const DBT *, const DBT *, DBT *), u_int32_t));
1382 int (*associate_foreign) __P((DB *, DB *,
1383 int (*)(DB *, const DBT *, DBT *, const DBT *, int *),
1385 int (*close) __P((DB *, u_int32_t));
1386 int (*compact) __P((DB *,
1388 int (*cursor) __P((DB *, DB_TXN *, DBC **, u_int32_t));
1389 int (*del) __P((DB *, DB_TXN *, DBT *, u_int32_t));
1390 void (*err) __P((DB *, int, const char *, ...));
1391 void (*errx) __P((DB *, const char *, ...));
1392 int (*exists) __P((DB *, DB_TXN *, DBT *, u_int32_t));
1393 int (*fd) __P((DB *, int *));
1394 int (*get) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
1395 int (*get_bt_minkey) __P((DB *, u_int32_t *));
1396 int (*get_byteswapped) __P((DB *, int *));
1397 int (*get_cachesize) __P((DB *, u_int32_t *, u_int32_t *, int *));
1398 int (*get_dbname) __P((DB *, const char **, const char **));
1399 int (*get_encrypt_flags) __P((DB *, u_int32_t *));
1400 DB_ENV *(*get_env) __P((DB *));
1401 void (*get_errcall) __P((DB *,
1403 void (*get_errfile) __P((DB *, FILE **));
1404 void (*get_errpfx) __P((DB *, const char **));
1405 int (*get_flags) __P((DB *, u_int32_t *));
1406 int (*get_h_ffactor) __P((DB *, u_int32_t *));
1407 int (*get_h_nelem) __P((DB *, u_int32_t *));
1408 int (*get_lorder) __P((DB *, int *));
1409 DB_MPOOLFILE *(*get_mpf) __P((DB *));
1410 void (*get_msgfile) __P((DB *, FILE **));
1411 int (*get_multiple) __P((DB *));
1412 int (*get_open_flags) __P((DB *, u_int32_t *));
1413 int (*get_pagesize) __P((DB *, u_int32_t *));
1414 int (*get_priority) __P((DB *, DB_CACHE_PRIORITY *));
1415 int (*get_q_extentsize) __P((DB *, u_int32_t *));
1416 int (*get_re_delim) __P((DB *, int *));
1417 int (*get_re_len) __P((DB *, u_int32_t *));
1418 int (*get_re_pad) __P((DB *, int *));
1419 int (*get_re_source) __P((DB *, const char **));
1420 int (*get_transactional) __P((DB *));
1421 int (*get_type) __P((DB *, DBTYPE *));
1422 int (*join) __P((DB *, DBC **, DBC **, u_int32_t));
1424 __P((DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t));
1425 int (*open) __P((DB *,
1427 int (*pget) __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t));
1428 int (*put) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
1429 int (*remove) __P((DB *, const char *, const char *, u_int32_t));
1430 int (*rename) __P((DB *,
1432 int (*set_alloc) __P((DB *, void *(*)(size_t),
1434 int (*set_append_recno) __P((DB *, int (*)(DB *, DBT *, db_recno_t)));
1436 __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
1437 int (*set_bt_minkey) __P((DB *, u_int32_t));
1439 __P((DB *, size_t (*)(DB *, const DBT *, const DBT *)));
1440 int (*set_cachesize) __P((DB *, u_int32_t, u_int32_t, int));
1442 __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
1443 int (*set_encrypt) __P((DB *, const char *, u_int32_t));
1444 void (*set_errcall) __P((DB *,
1446 void (*set_errfile) __P((DB *, FILE *));
1447 void (*set_errpfx) __P((DB *, const char *));
1448 int (*set_feedback) __P((DB *, void (*)(DB *, int, int)));
1449 int (*set_flags) __P((DB *, u_int32_t));
1451 __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
1452 int (*set_h_ffactor) __P((DB *, u_int32_t));
1454 __P((DB *, u_int32_t (*)(DB *, const void *, u_int32_t)));
1455 int (*set_h_nelem) __P((DB *, u_int32_t));
1456 int (*set_lorder) __P((DB *, int));
1457 void (*set_msgcall) __P((DB *, void (*)(const DB_ENV *, const char *)));
1458 void (*set_msgfile) __P((DB *, FILE *));
1459 int (*set_pagesize) __P((DB *, u_int32_t));
1460 int (*set_paniccall) __P((DB *, void (*)(DB_ENV *, int)));
1461 int (*set_priority) __P((DB *, DB_CACHE_PRIORITY));
1462 int (*set_q_extentsize) __P((DB *, u_int32_t));
1463 int (*set_re_delim) __P((DB *, int));
1464 int (*set_re_len) __P((DB *, u_int32_t));
1465 int (*set_re_pad) __P((DB *, int));
1466 int (*set_re_source) __P((DB *, const char *));
1467 int (*stat) __P((DB *, DB_TXN *, void *, u_int32_t));
1468 int (*stat_print) __P((DB *, u_int32_t));
1469 int (*sync) __P((DB *, u_int32_t));
1470 int (*truncate) __P((DB *, DB_TXN *, u_int32_t *, u_int32_t));
1471 int (*upgrade) __P((DB *, const char *, u_int32_t));
1473 __P((DB *, const char *, const char *, FILE *, u_int32_t));
1474 /* DB PUBLIC HANDLE LIST END */
1476 /* DB PRIVATE HANDLE LIST BEGIN */
1477 int (*dump) __P((DB *, const char *,
1479 int (*db_am_remove) __P((DB *, DB_TXN *, const char *, const char *));
1480 int (*db_am_rename) __P((DB *, DB_TXN *,
1482 /* DB PRIVATE HANDLE LIST END */
1488 int (*stored_get) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
1489 int (*stored_close) __P((DB *, u_int32_t));
1519 #define DB_AM_OPEN_CALLED 0x00008000 /* DB->open called */
1525 #define DB_AM_RECOVER 0x00200000 /* DB opened by recovery routine */
1533 #define DB_AM_VERIFYING 0x20000000 /* DB handle is in the verifier */
1602 DB *dbp; /* Backing database */
1624 * data to the user when DBT flags indicate that DB should manage
1629 * another cursor, a DB handle, a join cursor, etc. In general, it
1631 * DB interface call.
2157 * The DB support for ndbm(3) always appends this suffix to the
2175 * Translate NDBM calls into DB calls so that DB doesn't step on the
2193 * Translate DBM calls into DB calls so that DB doesn't step on the
2417 int db_create __P((DB **, DB_ENV *, u_int32_t));
2443 int db_sequence_create __P((DB_SEQUENCE **, DB *, u_int32_t));