+typedef struct __db {
+ void *internal; /* access method private */
+#define DB_BTREE 1
+#define DB_HASH 2
+#define DB_RECNO 3
+ int type; /* type of underlying db */
+ int (*close) __P((const struct __db *));
+ int (*del) __P((const struct __db *, const DBT *, unsigned int));
+ int (*get) __P((const struct __db *, DBT *, DBT *, unsigned int));
+ int (*put) __P((const struct __db *, const DBT *, const DBT *,
+ unsigned int));
+ int (*seq) __P((const struct __db *, DBT *, DBT *, unsigned int));
+ int (*sync) __P((const struct __db *));