Lines Matching refs:sdb
18 DB *sdb;
105 ret = db_create(&dict->sdb, dict->db_env, 0);
110 dict->sdb->set_errfile(dict->sdb, stderr);
111 dict->sdb->set_errpfx(dict->sdb,
119 if (dict->sdb->set_flags(dict->sdb, DB_DUP) != 0)
125 if (dict->sdb->set_bt_compare(dict->sdb, uint32_t_compare) != 0)
129 if ((ret = dict->sdb->open(dict->sdb, dict->tid, NULL, NULL,
131 i_error("sdb.open() failed: %s\n", db_strerror(ret));
134 if ((ret = dict->pdb->associate(dict->pdb, dict->tid, dict->sdb,
193 if (dict->sdb != NULL)
194 dict->sdb->close(dict->sdb, 0);
310 ret = dict->sdb->cursor(dict->sdb, NULL, &ctx->cursor, 0);