This commit is contained in:
Michael Kerrisk 2007-06-16 07:37:16 +00:00
parent 696dbf1ac6
commit ce4b0e570b
1 changed files with 11 additions and 17 deletions

View File

@ -57,26 +57,20 @@ associated key/data pairs.
The btree access method specific data structure provided to
.BR dbopen (3)
is defined in the <db.h> include file as follows:
.PP
.in +0.5i
.nf
typedef struct {
.RS
u_long flags;
.br
u_int cachesize;
.br
int maxkeypage;
.br
int minkeypage;
.br
u_int psize;
.br
int (*compare)(const DBT *key1, const DBT *key2);
.br
size_t (*prefix)(const DBT *key1, const DBT *key2);
.br
u_long flags;
u_int cachesize;
int maxkeypage;
int minkeypage;
u_int psize;
int (*compare)(const DBT *key1, const DBT *key2);
size_t (*prefix)(const DBT *key1, const DBT *key2);
int lorder;
.RE
} BTREEINFO;
.fi
.in
.PP
The elements of this structure are as follows:
.TP