Asterisk - The Open Source Telephony Project GIT-master-0bf3178
|
#include <sys/param.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../include/db.h"
#include "btree.h"
Go to the source code of this file.
Functions | |
int | __bt_cmp (BTREE *t, const DBT *k1, EPG *e) |
int | __bt_defcmp (DBT *a, DBT *b) const |
size_t | __bt_defpfx (DBT *a, DBT *b) const |
int | __bt_ret (BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy) |
Definition at line 153 of file bt_utils.c.
References __ovfl_get(), _btree::bt_rdata, _binternal::bytes, _bleaf::bytes, DBT::data, _page::flags, _binternal::flags, _bleaf::flags, GETBINTERNAL, GETBLEAF, _epg::index, _binternal::ksize, _bleaf::ksize, NULL, P_BIGKEY, P_BLEAF, P_INVALID, _epg::page, _page::prevpg, RET_ERROR, and DBT::size.
Referenced by __bt_bdelete(), __bt_curdel(), __bt_first(), __bt_search(), __bt_snext(), __bt_sprev(), and bt_fast().
Definition at line 216 of file bt_utils.c.
References a, b, len(), and MIN.
Referenced by __bt_open().
Definition at line 246 of file bt_utils.c.
References a, b, len(), and MIN.
Referenced by __bt_open().
Definition at line 67 of file bt_utils.c.
References __ovfl_get(), B_DB_LOCK, _bleaf::bytes, copy(), DBT::data, _bleaf::dsize, F_ISSET, _bleaf::flags, GETBLEAF, _epg::index, _bleaf::ksize, malloc(), NULL, P_BIGDATA, P_BIGKEY, _epg::page, realloc, RET_ERROR, RET_SUCCESS, and DBT::size.
Referenced by __bt_curdel(), __bt_get(), and __bt_seq().