Asterisk - The Open Source Telephony Project  18.5.0
Public Types | Public Member Functions | Data Fields
_btree Struct Reference

#include <btree.h>

Collaboration diagram for _btree:
Collaboration graph
[legend]

Public Types

enum  { NOT, BACK, FORWARD }
 

Public Member Functions

int bt_cmp __P ((const DBT *, const DBT *))
 
size_t bt_pfx __P ((const DBT *, const DBT *))
 
int bt_irec __P ((struct _btree *, recno_t))
 

Data Fields

u_char bt_bval
 
caddr_t bt_cmap
 
EPG bt_cur
 
CURSOR bt_cursor
 
DBbt_dbp
 
caddr_t bt_emap
 
int bt_fd
 
pgno_t bt_free
 
EPGNO bt_last
 
int bt_lorder
 
MPOOLbt_mp
 
size_t bt_msize
 
recno_t bt_nrecs
 
enum _btree:: { ... }  bt_order
 
indx_t bt_ovflsize
 
PAGEbt_pinned
 
u_int32_t bt_psize
 
DBT bt_rdata
 
size_t bt_reclen
 
int bt_rfd
 
FILE * bt_rfp
 
DBT bt_rkey
 
caddr_t bt_smap
 
EPGNObt_sp
 
EPGNO bt_stack [50]
 
u_int32_t flags
 

Detailed Description

Definition at line 312 of file btree.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NOT 
BACK 
FORWARD 

Definition at line 342 of file btree.h.

342 { NOT, BACK, FORWARD } bt_order;
enum _btree::@518 bt_order

Member Function Documentation

◆ __P() [1/3]

int bt_cmp __P ( (const DBT *, const DBT *)  )

◆ __P() [2/3]

size_t bt_pfx __P ( (const DBT *, const DBT *)  )

◆ __P() [3/3]

int bt_irec __P ( (struct _btree *, recno_t )

Field Documentation

◆ bt_bval

u_char bt_bval

Definition at line 362 of file btree.h.

Referenced by __rec_fmap(), __rec_fpipe(), __rec_open(), __rec_put(), __rec_vmap(), and __rec_vpipe().

◆ bt_cmap

caddr_t bt_cmap

Definition at line 355 of file btree.h.

Referenced by __rec_fmap(), __rec_open(), and __rec_vmap().

◆ bt_cur

EPG bt_cur

Definition at line 317 of file btree.h.

Referenced by __bt_search(), __bt_snext(), __bt_sprev(), __rec_search(), and bt_fast().

◆ bt_cursor

CURSOR bt_cursor

◆ bt_dbp

DB* bt_dbp

Definition at line 315 of file btree.h.

Referenced by __bt_open(), and __bt_split().

◆ bt_emap

caddr_t bt_emap

Definition at line 357 of file btree.h.

Referenced by __rec_fmap(), __rec_open(), and __rec_vmap().

◆ bt_fd

int bt_fd

Definition at line 335 of file btree.h.

Referenced by __bt_close(), __bt_fd(), and __bt_open().

◆ bt_free

pgno_t bt_free

Definition at line 337 of file btree.h.

Referenced by __bt_free(), __bt_new(), __bt_open(), and bt_meta().

◆ bt_last

EPGNO bt_last

Definition at line 343 of file btree.h.

Referenced by __bt_put(), and bt_fast().

◆ bt_lorder

int bt_lorder

Definition at line 340 of file btree.h.

Referenced by __bt_open().

◆ bt_mp

MPOOL* bt_mp

◆ bt_msize

size_t bt_msize

Definition at line 358 of file btree.h.

Referenced by __rec_close(), and __rec_open().

◆ bt_nrecs

recno_t bt_nrecs

◆ bt_order

enum { ... } bt_order

Referenced by __bt_open(), __bt_put(), and bt_fast().

◆ bt_ovflsize

indx_t bt_ovflsize

Definition at line 339 of file btree.h.

Referenced by __bt_open(), __bt_put(), and __rec_iput().

◆ bt_pinned

PAGE* bt_pinned

◆ bt_psize

u_int32_t bt_psize

◆ bt_rdata

DBT bt_rdata

◆ bt_reclen

size_t bt_reclen

Definition at line 361 of file btree.h.

Referenced by __rec_fmap(), __rec_fpipe(), __rec_open(), and __rec_put().

◆ bt_rfd

int bt_rfd

Definition at line 353 of file btree.h.

Referenced by __bt_open(), __rec_close(), __rec_fd(), and __rec_open().

◆ bt_rfp

FILE* bt_rfp

Definition at line 352 of file btree.h.

Referenced by __rec_close(), __rec_fpipe(), __rec_open(), and __rec_vpipe().

◆ bt_rkey

DBT bt_rkey

Definition at line 332 of file btree.h.

Referenced by __bt_close(), __bt_seq(), and __rec_ret().

◆ bt_smap

caddr_t bt_smap

Definition at line 356 of file btree.h.

Referenced by __rec_close(), and __rec_open().

◆ bt_sp

EPGNO* bt_sp

Definition at line 330 of file btree.h.

◆ bt_stack

EPGNO bt_stack[50]

Definition at line 329 of file btree.h.

◆ flags

u_int32_t flags

Definition at line 388 of file btree.h.

Referenced by __bt_open().


The documentation for this struct was generated from the following file: