rpm
5.4.10
|
![]() |
Files | |
file | rpmlib.h |
In Memoriam: Steve Taylor stayl was here, now he's not. or@r edhat .com | |
file | rpmdb.c |
file | rpmdb.h |
Access RPM indices using Berkeley DB interface(s). |
Functions | |
static int | sql_exists (dbiIndex dbi, DBT *key, unsigned int flags) |
Return whether key exists in a database. | |
static int | sql_seqno (dbiIndex dbi, int64_t *seqnop, unsigned int flags) |
Return next sequence number. | |
static int | sql_stat (dbiIndex dbi, unsigned int flags) |
Save statistics in database handle. |
Return whether key exists in a database.
dbi | index database handle |
key | retrieve key value/length/flags |
flags | usually 0 |
Definition at line 1256 of file sqlite.c.
References _KEYDATA, and SQLDBDEBUG.
|
static |
Return next sequence number.
dbi | index database handle (with attached sequence) |
*seqnop | IN: delta (0 does seqno++) OUT: returned 64bit seqno |
flags | usually 0 |
Definition at line 1297 of file sqlite.c.
References sql_exec(), sql_seqno_cb(), and SQLDBDEBUG.
|
static |
Save statistics in database handle.
dbi | index database handle |
flags | retrieve statistics that don't require traversal? |
Definition at line 1761 of file sqlite.c.
References _free(), __db_h_stat::hash_nkeys, sql_exec(), sql_stat_cb(), SQLDBDEBUG, and xcalloc().