Home
last modified time | relevance | path

Searched refs:switch_core_hash_find (Results 1 – 25 of 79) sorted by relevance

1234

/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_hash/
H A Dmod_hash.c161 increment = !switch_core_hash_find(pvt->hash, hashkey); in SWITCH_LIMIT_INCR()
432 if ((value = switch_core_hash_find(globals.db_hash, hash_key))) { in SWITCH_STANDARD_APP()
450 if ((value = switch_core_hash_find(globals.db_hash, hash_key))) { in SWITCH_STANDARD_APP()
458 if ((value = switch_core_hash_find(globals.db_hash, hash_key))) { in SWITCH_STANDARD_APP()
505 if ((value = switch_core_hash_find(globals.db_hash, hash_key))) { in SWITCH_STANDARD_API()
519 if ((value = switch_core_hash_find(globals.db_hash, hash_key))) { in SWITCH_STANDARD_API()
530 if ((value = switch_core_hash_find(globals.db_hash, hash_key))) { in SWITCH_STANDARD_API()
697 remote = switch_core_hash_find(globals.remote_hash, name); in SWITCH_STANDARD_API()
732 if (switch_core_hash_find(globals.remote_hash, name)) { in limit_remote_create()
805 if ((item = switch_core_hash_find(remote->index, key))) { in get_remote_usage()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_blacklist/
H A Dmod_blacklist.c196 bl = switch_core_hash_find(globals.lists, argv[1]); in SWITCH_STANDARD_API()
206 result = (switch_bool_t)(intptr_t)switch_core_hash_find(bl->list, argv[2]); in SWITCH_STANDARD_API()
217 bl = switch_core_hash_find(globals.lists, argv[1]); in SWITCH_STANDARD_API()
239 bl = switch_core_hash_find(globals.lists, argv[1]); in SWITCH_STANDARD_API()
267 bl = switch_core_hash_find(globals.lists, argv[1]); in SWITCH_STANDARD_API()
271 filename = switch_core_hash_find(globals.files, argv[1]); in SWITCH_STANDARD_API()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_hiredis/
H A Dmod_hiredis.c123 profile = switch_core_hash_find(mod_hiredis_globals.profiles, profile_name); in SWITCH_STANDARD_APP()
161 profile = switch_core_hash_find(mod_hiredis_globals.profiles, input); in SWITCH_STANDARD_API()
208 profile = switch_core_hash_find(mod_hiredis_globals.profiles, realm); in SWITCH_LIMIT_INCR()
308 profile = switch_core_hash_find(mod_hiredis_globals.profiles, cur->realm); in SWITCH_LIMIT_RELEASE()
329 profile = switch_core_hash_find(mod_hiredis_globals.profiles, cur->realm); in SWITCH_LIMIT_RELEASE()
367 hiredis_profile_t *profile = switch_core_hash_find(mod_hiredis_globals.profiles, realm); in SWITCH_LIMIT_USAGE()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_rayo/
H A Drayo_cpa_component.c81 switch_hash_t *signal_subscribers = switch_core_hash_find(globals.subscribers, key); in subscribe()
102 switch_hash_t *signal_subscribers = switch_core_hash_find(globals.subscribers, key); in unsubscribe()
134 switch_hash_t *signal_subscribers = switch_core_hash_find(globals.subscribers, key); in subscriber_execute()
199 …struct cpa_signal *cpa_signal = switch_core_hash_find(CPA_COMPONENT(component)->signals, signal_ty… in rayo_cpa_detector_event()
319 if (switch_core_hash_find(component->signals, url)) { in rayo_cpa_component_start()
H A Drayo_cpa_detector.c83 struct rayo_cpa_detector *detector = switch_core_hash_find(globals.detectors, signal_ns); in rayo_cpa_detector_start()
123 struct rayo_cpa_detector *detector = switch_core_hash_find(globals.detectors, signal_ns); in rayo_cpa_detector_stop()
166 signal_type = switch_core_hash_find(detector->signal_type_map, signal_type); in rayo_cpa_detector_event()
335 if (!(bound_detector = switch_core_hash_find(bound_events, event_name))) { in do_config()
366 …struct rayo_cpa_detector *bound_detector = switch_core_hash_find(globals.detectors, signal_type_ns… in do_config()
H A Dnlsml.c165 if (switch_core_hash_find(parent_def->children_tags, "ANY") || in process_tag()
166 switch_core_hash_find(parent_def->children_tags, name)) { in process_tag()
276 child_node->tag_def = switch_core_hash_find(globals.tag_defs, name); in tag_hook()
278 child_node->tag_def = switch_core_hash_find(globals.tag_defs, "ANY"); in tag_hook()
H A Dsrgs.c452 if (switch_core_hash_find(parent_def->children_tags, "ANY") || in process_tag()
453 switch_core_hash_find(parent_def->children_tags, name)) { in process_tag()
538 if (switch_core_hash_find(grammar->rules, rule->value.rule.id)) { in process_rule()
713 grammar->cur->tag_def = switch_core_hash_find(globals.tag_defs, name); in tag_hook()
715 grammar->cur->tag_def = switch_core_hash_find(globals.tag_defs, "ANY"); in tag_hook()
1128 …struct srgs_node *rule = (struct srgs_node *)switch_core_hash_find(grammar->rules, node->value.roo… in resolve_refs()
1138 …struct srgs_node *rule = (struct srgs_node *)switch_core_hash_find(grammar->rules, node->value.ref… in resolve_refs()
1192 grammar = (struct srgs_grammar *)switch_core_hash_find(parser->cache, document); in srgs_parse()
H A Dmod_rayo.c726 handler = (struct rayo_xmpp_handler *)switch_core_hash_find(globals.command_handlers, full_name); in rayo_actor_command_handler_find()
790 handler = (struct rayo_xmpp_handler *)switch_core_hash_find(globals.event_handlers, full_name); in rayo_actor_event_handler_find()
970 actor = (struct rayo_actor *)switch_core_hash_find(globals.actors, jid); in rayo_actor_locate()
994 actor = (struct rayo_actor *)switch_core_hash_find(globals.actors_by_id, id); in rayo_actor_locate_by_id()
1376 if (switch_core_hash_find(globals.actors, RAYO_JID(actor))) { in rayo_actor_init()
1390 if (switch_core_hash_find(globals.actors_by_id, actor->id)) { in rayo_actor_init()
1711 if (!zstr(msg->from_jid) && switch_core_hash_find(call->pcps, msg->from_jid)) { in take_call_control()
3275 member = (struct rayo_mixer_member *)switch_core_hash_find(mixer->members, uuid); in on_mixer_delete_member_event()
3309 …subscriber = (struct rayo_mixer_subscriber *)switch_core_hash_find(mixer->subscribers, member->dcp… in on_mixer_delete_member_event()
3389 …subscriber = (struct rayo_mixer_subscriber *)switch_core_hash_find(mixer->subscribers, call->dcp_j… in on_mixer_add_member_event()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/
H A Dswitch_core_hash.c193 SWITCH_DECLARE(void *) switch_core_hash_find(switch_hash_t *hash, const char *key) in switch_core_hash_find() function
206 val = switch_core_hash_find(hash, key); in switch_core_hash_find_locked()
224 val = switch_core_hash_find(hash, key); in switch_core_hash_find_rdlock()
H A Dswitch_loadable_module.c165 if ((val = switch_core_hash_find(event_hash, "0"))) { in switch_loadable_module_process()
1886 if (switch_core_hash_find(loadable_modules.module_hash, mod)) { in switch_loadable_module_exists()
1906 if ((module = switch_core_hash_find(loadable_modules.module_hash, mod))) { in switch_loadable_module_protect()
2215 if ((hash_val = switch_core_hash_find(event_hash, "0"))) { in switch_loadable_module_init()
2236 if ((hash_val = switch_core_hash_find(event_hash, "0"))) { in switch_loadable_module_init()
2244 if ((hash_val = switch_core_hash_find(event_hash, "0"))) { in switch_loadable_module_init()
2526 ptr = switch_core_hash_find(loadable_modules.endpoint_hash, name); in switch_loadable_module_get_endpoint_interface()
2541 if ((head = switch_core_hash_find(loadable_modules.file_hash, name))) { in switch_loadable_module_get_file_interface()
2568 if ((head = switch_core_hash_find(loadable_modules.database_hash, name))) { in switch_loadable_module_get_database_interface()
2596 if ((head = switch_core_hash_find(loadable_modules.codec_hash, name))) { in switch_loadable_module_get_codec_interface()
[all …]
H A Dswitch_event.c461 if ((subclass = switch_core_hash_find(CUSTOM_HASH, subclass_name))) { in switch_event_free_subclass_detailed()
492 if ((subclass = switch_core_hash_find(CUSTOM_HASH, subclass_name))) { in switch_event_reserve_subclass_detailed()
2071 if (!(subclass = switch_core_hash_find(CUSTOM_HASH, subclass_name))) { in switch_event_bind_removable()
2073 subclass = switch_core_hash_find(CUSTOM_HASH, subclass_name); in switch_event_bind_removable()
3138 if ((vals = switch_core_hash_find(event_channel_manager.perm_hash, cookie))) { in switch_event_channel_permission_verify()
3151 if (!(vals = switch_core_hash_find(event_channel_manager.perm_hash, cookie))) { in switch_event_channel_permission_modify()
3175 if ((vals = switch_core_hash_find(event_channel_manager.perm_hash, cookie))) { in switch_event_channel_permission_clear()
3494 la = switch_core_hash_find(event_channel_manager.lahash, key); in switch_live_array_create()
3532 if ((node = switch_core_hash_find(la->hash, name))) { in switch_live_array_get()
3574 if ((node = switch_core_hash_find(la->hash, name))) { in switch_live_array_del()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_smpp/
H A Dmod_smpp.c51 gateway = switch_core_hash_find(mod_smpp_globals.gateways, gw_name); in mod_smpp_interface_chat_send()
68 gateway = switch_core_hash_find(mod_smpp_globals.gateways, data); in SWITCH_STANDARD_CHAT_APP()
130 gateway = switch_core_hash_find(mod_smpp_globals.gateways, argv[0]); in SWITCH_STANDARD_API()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_prefix/
H A Dmod_prefix.c92 if ((tr = switch_core_hash_find(globals.trees, name))) { in search_prefix_tree()
118 if ((tr = switch_core_hash_find(globals.trees, name))) { in load_prefix_tree()
140 if ((tr = switch_core_hash_find(globals.trees, name))) { in drop_prefix_tree()
/dports/net/freeswitch/freeswitch-1.10.3.-release/tests/unit/
H A Dswitch_hash.c76 data = switch_core_hash_find(hash, index[x]); in FST_TEST_BEGIN()
83 if ( ! switch_core_hash_find(hash, index[x])) { in FST_TEST_BEGIN()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_spy/
H A Dmod_spy.c69 spy = switch_core_hash_find(globals.spy_hash, data); in spy_on_hangup()
212 if ((spy = switch_core_hash_find(globals.spy_hash, key))) { in process_event()
306 spy->next = (spy_t *) switch_core_hash_find(globals.spy_hash, argv[0]); in SWITCH_STANDARD_APP()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/formats/mod_ssml/
H A Dmod_ssml.c248 struct tag_def *def = switch_core_hash_find(globals.tag_defs, name); in process_tag()
257 if (switch_core_hash_find(parent_def->children_tags, "ANY") || in process_tag()
258 switch_core_hash_find(parent_def->children_tags, name)) { in process_tag()
339 voice = (struct voice *)switch_core_hash_find(globals.voice_cache, lang_name_gender); in find_voice()
531 …cur_node->say_macro = (struct macro *)switch_core_hash_find(globals.interpret_as_map, interpret_as… in process_say_as()
674 language = switch_core_hash_find(globals.language_map, say_voice->language); in get_file_from_macro()
792 …struct tag_def *handler = switch_core_hash_find(globals.tag_defs, parsed_data->cur_node->tag_name); in cdata_hook()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_cdr_csv/
H A Dmod_cdr_csv.c139 if (!(fd = switch_core_hash_find(globals.fd_hash, path))) {
225 …g_template_str = (const char *) switch_core_hash_find(globals.template_hash, globals.default_templ…
228 a_template_str = (const char *) switch_core_hash_find(globals.template_hash, accountcode);
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/loggers/mod_logfile/
H A Dmod_logfile.c277 mask = (size_t) switch_core_hash_find(profile->log_hash, node->file); in process_node()
282 mask = (size_t) switch_core_hash_find(profile->log_hash, node->func); in process_node()
289 mask = (size_t) switch_core_hash_find(profile->log_hash, tmp); in process_node()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_fifo/
H A Dmod_fifo.c790 x = !!switch_core_hash_find(globals.caller_orig_hash, key); in check_caller_outbound_call()
833 x = !!switch_core_hash_find(globals.bridge_hash, key); in check_bridge_call()
862 x = !!switch_core_hash_find(globals.consumer_orig_hash, key); in check_consumer_outbound_call()
1436 if ((node = switch_core_hash_find(globals.fifo_hash, node_name))) { in outbound_ringall_thread_run()
1803 node = switch_core_hash_find(globals.fifo_hash, h->node_name); in outbound_enterprise_thread_run()
2293 …if (!(node = switch_core_hash_find(globals.fifo_hash, node_name)) && !(node = switch_core_hash_fin… in pres_event_handler()
2323 if (!(node = switch_core_hash_find(globals.fifo_hash, node_name))) { in fifo_add_outbound()
2631 if (!(node = switch_core_hash_find(globals.fifo_hash, nlist[i]))) { in SWITCH_STANDARD_APP()
4223 if ((node = switch_core_hash_find(globals.fifo_hash, argv[1]))) { in SWITCH_STANDARD_API()
4495 if (!switch_core_hash_find(globals.fifo_hash, MANUAL_QUEUE_NAME)) { in load_config()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_valet_parking/
H A Dmod_valet_parking.c71 lot = switch_core_hash_find(globals.hash, name); in valet_find_lot()
207 token = (valet_token_t *) switch_core_hash_find(lot->hash, buf); in next_id()
218 token = (valet_token_t *) switch_core_hash_find(lot->hash, buf); in next_id()
527 token = (valet_token_t *) switch_core_hash_find(lot->hash, ext); in SWITCH_STANDARD_APP()
880 if ((token = (valet_token_t *) switch_core_hash_find(lot->hash, lot_name)) && !token->timeout) { in pres_event_handler()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_sms_flowroute/
H A Dmod_sms_flowroute.c446 profile = switch_core_hash_find(mod_sms_flowroute_globals.profile_hash, profile_name); in mod_sms_flowroute_interface_chat_send()
463 profile = switch_core_hash_find(mod_sms_flowroute_globals.profile_hash, data); in SWITCH_STANDARD_CHAT_APP()
523 profile = switch_core_hash_find(mod_sms_flowroute_globals.profile_hash, argv[0]); in SWITCH_STANDARD_API()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/loggers/mod_console/
H A Dmod_console.c294 mask = (size_t) switch_core_hash_find(log_hash, node->file); in switch_console_logger()
299 mask = (size_t) switch_core_hash_find(log_hash, node->func); in switch_console_logger()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_cdr_sqlite/
H A Dmod_cdr_sqlite.c149 …template_str = (const char *) switch_core_hash_find(globals.template_hash, globals.default_templat… in my_on_reporting()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_event_multicast/
H A Dmod_event_multicast.c188 if (!(p = switch_core_hash_find(globals.peer_hash, sender))) { in event_handler()
275 …if (event->event_id != SWITCH_EVENT_CUSTOM || (event->subclass_name && switch_core_hash_find(globa… in event_handler()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_dingaling/
H A Dmod_dingaling.c533 if (f_host && (profile = switch_core_hash_find(globals.profile_hash, f_host))) { in pres_event_handler()
629 if ((profile_name && (profile = switch_core_hash_find(globals.profile_hash, profile_name)))) { in chat_send()
640 || (profile = switch_core_hash_find(globals.profile_hash, f_host)))) { in chat_send()
2509 mdl_profile = switch_core_hash_find(globals.profile_hash, profile_name); in channel_outgoing_channel()
3023 if ((profile = switch_core_hash_find(globals.profile_hash, cmd))) { in SWITCH_STANDARD_API()
3050 if (((profile = switch_core_hash_find(globals.profile_hash, cmd))) && profile->handle) { in SWITCH_STANDARD_API()
3139 profile = switch_core_hash_find(globals.profile_hash, profile_name); in SWITCH_STANDARD_API()
3239 if ((profile = switch_core_hash_find(globals.profile_hash, name))) { in destroy_profile()
3327 if ((old_profile = switch_core_hash_find(globals.profile_hash, profile->name))) { in soft_reload()
3350 if (switch_core_hash_find(name_hash, profile->name)) { in soft_reload()
[all …]

1234