Asterisk - The Open Source Telephony Project
18.5.0
|
#include <sys/types.h>
#include <fcntl.h>
#include <string.h>
#include "../include/db.h"
#include "search.h"
Go to the source code of this file.
Functions | |
int | hcreate (u_int nel) |
void | hdestroy () |
ENTRY * | hsearch (ENTRY item, ACTION action) |
Variables | |
static DB * | dbp = NULL |
static ENTRY | retval |
int hcreate | ( | u_int | nel | ) |
Definition at line 53 of file hsearch.c.
References __hash_open(), HASHINFO::bsize, HASHINFO::cachesize, dbp, HASHINFO::ffactor, sip_to_pjsip::info(), HASHINFO::lorder, HASHINFO::nelem, and NULL.
void hdestroy | ( | ) |
Definition at line 69 of file hsearch.c.
References entry::data, DBT::data, ENTER, entry::key, NULL, R_NOOVERWRITE, DBT::size, and status.
Definition at line 49 of file hsearch.c.
Referenced by __bt_open(), __hash_open(), __rec_open(), hcreate(), and hdestroy().
|
static |
Definition at line 50 of file hsearch.c.
Referenced by __split_page(), ast_channel_connected_line_macro(), ast_channel_connected_line_sub(), ast_channel_redirecting_macro(), ast_channel_redirecting_sub(), ast_cli_command_full(), ast_hashtab_next(), ast_queue_cc_frame(), attach_barge(), auth_manager_http_callback(), auth_mxml_http_callback(), auth_rawman_http_callback(), cli_complete(), exec_command_on_condition(), find_user_realtime(), fmult(), get_sample(), h264_decap(), handle_command_response(), hash_close(), iget_sample(), kqueue_timer_ack(), kqueue_timer_disable_continuous(), kqueue_timer_enable_continuous(), kqueue_timer_init_continuous_event(), kqueue_timer_set_rate(), manager_http_callback(), misdn_attempt_transfer(), misdn_lib_send_event(), mxml_http_callback(), parse_file(), rawman_http_callback(), return_exec(), and stasis_app_control_answer().