• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/build_windows/

Lines Matching defs:DB

58  * Berkeley DB version information.
63 #define DB_VERSION_STRING "Berkeley DB 4.7.25: (May 15, 2008)"
67 * Berkeley DB uses specifically sized types. If they're not provided by
109 * DB modifies pointers by discarding the bottom bits to guarantee alignment.
165 struct __db; typedef struct __db DB;
215 * The Berkeley DB API flags are automatically-generated -- the following flag names are
418 * Internal DB access method lock.
858 * Structure used for two phase commit interface. Berkeley DB support for two
1083 DB *seq_dbp; /* DB handle for this sequence. */
1100 int (*get_db) __P((DB_SEQUENCE *, DB **));
1159 * DB access method and cursor operation values. Each value is an operation
1198 * DB (user visible) error return codes.
1205 /* DB (public) error return codes. */
1237 /* DB (private) error return codes. */
1252 #define DB_VERIFY_FATAL (-30886)/* DB->verify cannot proceed. */
1263 int (*db_append_recno) __P((DB *, DBT *, db_recno_t));
1264 void (*db_feedback) __P((DB *, int, int));
1265 int (*dup_compare) __P((DB *, const DBT *, const DBT *));
1270 * Private: owned by DB.
1275 DBTYPE type; /* DB access method type. */
1281 char *fname, *dname; /* File/database passed to DB->open. */
1282 u_int32_t open_flags; /* Flags passed to DB->open. */
1295 DB_LOCKER *associate_locker; /* Locker for DB->associate call. */
1304 * Returned data memory for DB->get() and friends.
1312 * Some applications use DB but implement their own locking outside of
1313 * DB. If they're using fcntl(2) locking on the underlying database
1315 * discard their locks. The DB_FCNTL_LOCKING flag to DB->open is an
1317 * descriptors we open until DB->close. This will only work with the
1318 * DB->open interface and simple caches, e.g., creating a transaction
1392 int (*s_callback) __P((DB *, const DBT *, const DBT *, DBT *));
1395 DB *s_primary;
1416 DB *s_foreign;
1418 /* API-private structure: used by DB 1.85, C++, Java, Perl and Tcl */
1427 /* DB PUBLIC HANDLE LIST BEGIN */
1428 int (*associate) __P((DB *, DB_TXN *, DB *,
1429 int (*)(DB *, const DBT *, const DBT *, DBT *), u_int32_t));
1430 int (*associate_foreign) __P((DB *, DB *,
1431 int (*)(DB *, const DBT *, DBT *, const DBT *, int *),
1433 int (*close) __P((DB *, u_int32_t));
1434 int (*compact) __P((DB *,
1436 int (*cursor) __P((DB *, DB_TXN *, DBC **, u_int32_t));
1437 int (*del) __P((DB *, DB_TXN *, DBT *, u_int32_t));
1438 void (*err) __P((DB *, int, const char *, ...));
1439 void (*errx) __P((DB *, const char *, ...));
1440 int (*exists) __P((DB *, DB_TXN *, DBT *, u_int32_t));
1441 int (*fd) __P((DB *, int *));
1442 int (*get) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
1443 int (*get_bt_minkey) __P((DB *, u_int32_t *));
1444 int (*get_byteswapped) __P((DB *, int *));
1445 int (*get_cachesize) __P((DB *, u_int32_t *, u_int32_t *, int *));
1446 int (*get_dbname) __P((DB *, const char **, const char **));
1447 int (*get_encrypt_flags) __P((DB *, u_int32_t *));
1448 DB_ENV *(*get_env) __P((DB *));
1449 void (*get_errcall) __P((DB *,
1451 void (*get_errfile) __P((DB *, FILE **));
1452 void (*get_errpfx) __P((DB *, const char **));
1453 int (*get_flags) __P((DB *, u_int32_t *));
1454 int (*get_h_ffactor) __P((DB *, u_int32_t *));
1455 int (*get_h_nelem) __P((DB *, u_int32_t *));
1456 int (*get_lorder) __P((DB *, int *));
1457 DB_MPOOLFILE *(*get_mpf) __P((DB *));
1458 void (*get_msgfile) __P((DB *, FILE **));
1459 int (*get_multiple) __P((DB *));
1460 int (*get_open_flags) __P((DB *, u_int32_t *));
1461 int (*get_pagesize) __P((DB *, u_int32_t *));
1462 int (*get_priority) __P((DB *, DB_CACHE_PRIORITY *));
1463 int (*get_q_extentsize) __P((DB *, u_int32_t *));
1464 int (*get_re_delim) __P((DB *, int *));
1465 int (*get_re_len) __P((DB *, u_int32_t *));
1466 int (*get_re_pad) __P((DB *, int *));
1467 int (*get_re_source) __P((DB *, const char **));
1468 int (*get_transactional) __P((DB *));
1469 int (*get_type) __P((DB *, DBTYPE *));
1470 int (*join) __P((DB *, DBC **, DBC **, u_int32_t));
1472 __P((DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t));
1473 int (*open) __P((DB *,
1475 int (*pget) __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t));
1476 int (*put) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
1477 int (*remove) __P((DB *, const char *, const char *, u_int32_t));
1478 int (*rename) __P((DB *,
1480 int (*set_alloc) __P((DB *, void *(*)(size_t),
1482 int (*set_append_recno) __P((DB *, int (*)(DB *, DBT *, db_recno_t)));
1484 __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
1485 int (*set_bt_minkey) __P((DB *, u_int32_t));
1487 __P((DB *, size_t (*)(DB *, const DBT *, const DBT *)));
1488 int (*set_cachesize) __P((DB *, u_int32_t, u_int32_t, int));
1490 __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
1491 int (*set_encrypt) __P((DB *, const char *, u_int32_t));
1492 void (*set_errcall) __P((DB *,
1494 void (*set_errfile) __P((DB *, FILE *));
1495 void (*set_errpfx) __P((DB *, const char *));
1496 int (*set_feedback) __P((DB *, void (*)(DB *, int, int)));
1497 int (*set_flags) __P((DB *, u_int32_t));
1499 __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
1500 int (*set_h_ffactor) __P((DB *, u_int32_t));
1502 __P((DB *, u_int32_t (*)(DB *, const void *, u_int32_t)));
1503 int (*set_h_nelem) __P((DB *, u_int32_t));
1504 int (*set_lorder) __P((DB *, int));
1505 void (*set_msgcall) __P((DB *, void (*)(const DB_ENV *, const char *)));
1506 void (*set_msgfile) __P((DB *, FILE *));
1507 int (*set_pagesize) __P((DB *, u_int32_t));
1508 int (*set_paniccall) __P((DB *, void (*)(DB_ENV *, int)));
1509 int (*set_priority) __P((DB *, DB_CACHE_PRIORITY));
1510 int (*set_q_extentsize) __P((DB *, u_int32_t));
1511 int (*set_re_delim) __P((DB *, int));
1512 int (*set_re_len) __P((DB *, u_int32_t));
1513 int (*set_re_pad) __P((DB *, int));
1514 int (*set_re_source) __P((DB *, const char *));
1515 int (*stat) __P((DB *, DB_TXN *, void *, u_int32_t));
1516 int (*stat_print) __P((DB *, u_int32_t));
1517 int (*sync) __P((DB *, u_int32_t));
1518 int (*truncate) __P((DB *, DB_TXN *, u_int32_t *, u_int32_t));
1519 int (*upgrade) __P((DB *, const char *, u_int32_t));
1521 __P((DB *, const char *, const char *, FILE *, u_int32_t));
1522 /* DB PUBLIC HANDLE LIST END */
1524 /* DB PRIVATE HANDLE LIST BEGIN */
1525 int (*dump) __P((DB *, const char *,
1527 int (*db_am_remove) __P((DB *, DB_TXN *, const char *, const char *));
1528 int (*db_am_rename) __P((DB *, DB_TXN *,
1530 /* DB PRIVATE HANDLE LIST END */
1536 int (*stored_get) __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
1537 int (*stored_close) __P((DB *, u_int32_t));
1567 #define DB_AM_OPEN_CALLED 0x00008000 /* DB->open called */
1573 #define DB_AM_RECOVER 0x00200000 /* DB opened by recovery routine */
1581 #define DB_AM_VERIFYING 0x20000000 /* DB handle is in the verifier */
1650 DB *dbp; /* Backing database */
1672 * data to the user when DBT flags indicate that DB should manage
1677 * another cursor, a DB handle, a join cursor, etc. In general, it
1679 * DB interface call.
2205 * The DB support for ndbm(3) always appends this suffix to the
2223 * Translate NDBM calls into DB calls so that DB doesn't step on the
2241 * Translate DBM calls into DB calls so that DB doesn't step on the
2469 int db_create __P((DB **, DB_ENV *, u_int32_t));
2495 int db_sequence_create __P((DB_SEQUENCE **, DB *, u_int32_t));