Kannel: Open Source WAP and SMS gateway
svn-r5336
|
#include "gw-config.h"
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
#include "gwlib/gwlib.h"
#include "msg.h"
#include "sms.h"
#include "bearerbox.h"
#include "numhash.h"
#include "smscconn.h"
#include "dlr.h"
#include "load.h"
#include "bb_smscconn_cb.h"
#include "smscconn_p.h"
#include "smsc/smpp_pdu.h"
Go to the source code of this file.
Data Structures | |
struct | ConcatMsg |
Macros | |
#define | OCTSTR(os) octstr_imm(#os) |
Typedefs | |
typedef struct ConcatMsg | ConcatMsg |
Enumerations | |
enum | { concat_error = -1, concat_complete = 0, concat_pending = 1, concat_none } |
#define OCTSTR | ( | os | ) | octstr_imm(#os) |
Definition at line 732 of file bb_smscconn.c.
Referenced by cmp_rout_grp_checksum().
anonymous enum |
Enumerator | |
---|---|
concat_error | |
concat_complete | |
concat_pending | |
concat_none |
Definition at line 166 of file bb_smscconn.c.
int bb_reload_smsc_groups | ( | void | ) |
Definition at line 627 of file bb_smscconn.c.
References cfg_create(), cfg_destroy(), cfg_filename, cfg_get_multi_group(), cfg_read(), cfg_reloaded, debug(), gwlist_destroy(), octstr_get_cstr, octstr_imm(), smsc_groups, and warning().
Referenced by smsc2_add_smsc(), and smsc2_restart_smsc().
void bb_smscconn_connected | ( | SMSCConn * | conn | ) |
Definition at line 192 of file bb_smscconn.c.
References gwthread_wakeup(), and router_thread.
Referenced by at2_device_thread(), cgw_open_send_connection(), cgw_sender(), fake_listener(), handle_pdu(), httpsmsc_send_cb(), io_thread(), open_send_connection(), reconnect(), and soap_listener().
void bb_smscconn_killed | ( | void | ) |
Definition at line 199 of file bb_smscconn.c.
References flow_threads, gwlist_remove_producer(), and incoming_sms.
Referenced by at2_device_thread(), cgw_sender(), cimd2_shutdown_cb(), emi2_sender(), fake_listener(), httpsmsc_receiver(), httpsmsc_sender(), io_thread(), oisd_shutdown_cb(), shutdown_cb(), soap_listener(), and wrapper_sender().
void bb_smscconn_ready | ( | SMSCConn * | conn | ) |
Definition at line 185 of file bb_smscconn.c.
References flow_threads, gwlist_add_producer(), and incoming_sms.
Referenced by smscconn_create().
Definition at line 477 of file bb_smscconn.c.
References bb_alog_sms(), bb_smscconn_receive_internal(), black_list_receiver, black_list_receiver_regex, black_list_sender, black_list_sender_regex, concat_complete, concat_error, concat_handling_check_and_handle(), concat_none, concat_pending, counter_increase(), gw_rwlock_rdlock(), gw_rwlock_unlock(), handle_concatenated_mo, smscconn::id, incoming_sms_counter, incoming_sms_load, smscconn::incoming_sms_load, info(), load_increase, mo, msg_destroy(), normalize_number(), numhash_find_number(), octstr_create, octstr_get_cstr, panic, smscconn::received, report_mo, SMSCCONN_FAILED_REJECTED, SMSCCONN_FAILED_TEMPORARILY, SMSCCONN_SUCCESS, store_save, unified_prefix, smscconn::unified_prefix, white_black_list_lock, white_list_receiver, white_list_receiver_regex, white_list_sender, and white_list_sender_regex.
Referenced by at2_wait_modem_command(), bb_smscconn_send_failed(), bb_smscconn_sent(), brunet_receive_sms(), cgw_handle_op(), clickatell_receive_sms(), generic_receive_sms(), handle_operation(), handle_pdu(), io_thread(), kannel_receive_sms(), main_connection_loop(), msg_cb(), msg_to_bb(), soap_parse_dlr(), soap_parse_mo(), wrapper_receiver(), and xidris_receive_sms().
Definition at line 416 of file bb_smscconn.c.
References ack_failed, bb_alog_sms(), counter_increase(), gwthread_sleep(), incoming_dlr_counter, incoming_dlr_load, smscconn::incoming_dlr_load, incoming_sms_counter, incoming_sms_load, smscconn::incoming_sms_load, load_increase, msg_destroy(), msg_duplicate(), smscconn::received, smscconn::received_dlr, report_mo, route_incoming_to_boxc(), route_incoming_to_smsc(), SMSCCONN_FAILED_QFULL, SMSCCONN_QUEUED, SMSCCONN_SUCCESS, store_save_ack, and warning().
Referenced by bb_smscconn_receive(), and concat_handling_clear_old_parts().
Definition at line 329 of file bb_smscconn.c.
References ack_failed, bb_alog_sms(), bb_smscconn_receive(), bb_smscconn_send_failed(), counter_increase(), create_dlr_from_msg(), DLR_IS_FAIL, DLR_IS_SMSC_FAIL, DLR_SMSC_FAIL, smscconn::failed, gwlist_produce(), handle_split(), smscconn::id, msg_destroy(), smscconn::name, octstr_create, octstr_destroy(), octstr_insert_data(), outgoing_sms, reply(), report_mt, sms_resend_retry, SMSCCONN_ACTIVE, SMSCCONN_FAILED_DISCARDED, SMSCCONN_FAILED_EXPIRED, SMSCCONN_FAILED_REJECTED, SMSCCONN_FAILED_SHUTDOWN, SMSCCONN_FAILED_TEMPORARILY, smscconn_status(), store_save_ack, and warning().
Referenced by at2_send_one_message(), at2_shutdown_cb(), bb_smscconn_send_failed(), brunet_parse_reply(), cgw_handle_op(), cgw_open_send_connection(), cgw_sender(), cgw_shutdown_cb(), cimd2_shutdown_cb(), cimd2_submit_msg(), clickatell_parse_reply(), do_queue_cleanup(), emi2_handle_smscreq(), emi2_sender(), fake_listener(), generic_parse_reply(), handle_pdu(), handle_split(), httpsmsc_send_cb(), httpsmsc_sender(), io_thread(), kannel_parse_reply(), main_connection_loop(), oisd_shutdown_cb(), oisd_submit_msg(), open_send_connection(), reconnect(), send_messages(), shutdown_cb(), sms_send(), smsc2_rout(), soap_listener(), soap_read_response(), soap_send_loop(), soap_shutdown_cb(), wrapper_sender(), wrapper_shutdown(), and xidris_parse_reply().
Definition at line 281 of file bb_smscconn.c.
References ack_success, bb_alog_sms(), bb_smscconn_receive(), counter_increase(), create_dlr_from_msg(), DLR_IS_SMSC_SUCCESS, DLR_SMSC_SUCCESS, handle_split(), smscconn::id, load_increase, msg_destroy(), smscconn::name, octstr_create, octstr_destroy(), octstr_insert_data(), outgoing_dlr_counter, outgoing_dlr_load, smscconn::outgoing_dlr_load, outgoing_sms_counter, outgoing_sms_load, smscconn::outgoing_sms_load, reply(), report_mt, smscconn::sent, smscconn::sent_dlr, SMSCCONN_SUCCESS, and store_save_ack.
Referenced by at2_send_one_message(), brunet_parse_reply(), cgw_handle_op(), cimd2_submit_msg(), clickatell_parse_reply(), emi2_handle_smscreq(), generic_parse_reply(), handle_pdu(), handle_split(), kannel_parse_reply(), main_connection_loop(), msg_cb(), oisd_submit_msg(), sms_send(), soap_read_response(), and xidris_parse_reply().
|
static |
Definition at line 734 of file bb_smscconn.c.
References cfg_get_group_checksum(), smscconn::chksum, octstr_compare(), and octstr_destroy().
Referenced by smsc2_graceful_restart().
|
static |
Definition at line 788 of file bb_smscconn.c.
References cfg_get, smscconn::id, octstr_compare(), octstr_destroy(), and octstr_imm().
Referenced by smsc2_graceful_restart().
|
static |
Definition at line 751 of file bb_smscconn.c.
References cfg_get_group_checksum(), smscconn::chksum_conn, OCTSTR, octstr_compare(), and octstr_destroy().
Referenced by smsc2_graceful_restart().
Definition at line 2181 of file bb_smscconn.c.
References ConcatMsg::ack, ack_success, concat_complete, concat_error, concat_lock, concat_none, concat_pending, debug(), dict_get(), dict_put(), error(), handle_concatenated_mo, incoming_concat_msgs, ConcatMsg::key, msg, msg_destroy(), msg_dump(), msg_duplicate(), mutex_lock, mutex_unlock, ConcatMsg::num_parts, octstr_append(), octstr_delete(), octstr_destroy(), octstr_duplicate, octstr_format(), octstr_get_char(), octstr_get_cstr, octstr_len(), octstr_set_char(), ConcatMsg::parts, ConcatMsg::refnum, ConcatMsg::smsc_id, store_save, store_save_ack, ConcatMsg::total_parts, ConcatMsg::trecv, ConcatMsg::udh, uuid_generate(), and warning().
Referenced by bb_smscconn_receive().
|
static |
Definition at line 2066 of file bb_smscconn.c.
References concat_lock, debug(), dict_destroy(), incoming_concat_msgs, and mutex_destroy().
Referenced by smsc2_cleanup().
|
static |
TODO handle cases where we goes down and have to clean concat parts for rerouting
Definition at line 2078 of file bb_smscconn.c.
References bb_smscconn_receive_internal(), concat_lock, concatenated_mo_timeout, debug(), destroy_concatMsg(), dict_get(), dict_keys(), dict_put(), dict_remove(), gw_rwlock_rdlock(), gw_rwlock_unlock(), gwlist_destroy(), gwlist_extract_first(), gwlist_get(), incoming_concat_msgs, ConcatMsg::key, msg, msg_destroy(), msg_duplicate(), mutex_lock, mutex_unlock, ConcatMsg::num_parts, octstr_destroy(), octstr_destroy_item(), octstr_format_append(), octstr_get_cstr, ConcatMsg::parts, smsc2_find(), ConcatMsg::smsc_id, smsc_list, smsc_list_lock, SMSCCONN_FAILED_QFULL, SMSCCONN_FAILED_REJECTED, SMSCCONN_FAILED_TEMPORARILY, SMSCCONN_QUEUED, SMSCCONN_SUCCESS, store_save, ConcatMsg::total_parts, ConcatMsg::trecv, and warning().
Referenced by concat_handling_shutdown(), and sms_router().
|
static |
Definition at line 2043 of file bb_smscconn.c.
References concat_lock, debug(), destroy_concatMsg(), dict_create(), incoming_concat_msgs, max_incoming_sms_qlength, and mutex_create.
Referenced by smsc2_start().
|
static |
Definition at line 2053 of file bb_smscconn.c.
References concat_handling_clear_old_parts(), and handle_concatenated_mo.
Referenced by smsc2_shutdown().
|
static |
Definition at line 2024 of file bb_smscconn.c.
References gw_assert(), msg, msg_destroy(), octstr_destroy(), and store_save_ack.
Referenced by concat_handling_clear_old_parts(), and concat_handling_init().
Definition at line 209 of file bb_smscconn.c.
References bb_smscconn_send_failed(), bb_smscconn_sent(), counter_decrease(), counter_destroy(), debug(), gwlist_produce(), msg, msg_destroy(), octstr_create, octstr_destroy(), outgoing_sms, reply(), sms_resend_retry, SMSCCONN_ACTIVE, SMSCCONN_FAILED_DISCARDED, SMSCCONN_FAILED_MALFORMED, SMSCCONN_FAILED_REJECTED, SMSCCONN_FAILED_TEMPORARILY, smscconn_status(), SMSCCONN_SUCCESS, split, and warning().
Referenced by bb_smscconn_send_failed(), and bb_smscconn_sent().
Definition at line 1930 of file bb_smscconn.c.
References ack_success, dict_get(), gwlist_get(), gwlist_len(), pattern_route::id, msg, mt_push, octstr_destroy(), octstr_duplicate, pattern_route::re, report_mo, report_mt, smscconn::reroute, smscconn::reroute_by_receiver, smscconn::reroute_by_receiver_regex, smscconn::reroute_dlr, smscconn::reroute_to_smsc, smsc2_rout(), store_save, and store_save_ack.
Referenced by bb_smscconn_receive_internal().
|
static |
Definition at line 650 of file bb_smscconn.c.
References BB_DEAD, BB_SHUTDOWN, bb_status, concat_handling_clear_old_parts(), concatenated_mo_timeout, debug(), flow_threads, gwlist_add_producer(), gwlist_len(), gwlist_produce(), gwlist_remove_producer(), gwlist_timed_consume(), gwthread_sleep(), gwthread_wakeup(), MAIN_THREAD_ID, msg, msg_destroy(), outgoing_sms, sms_resend_frequency, smsc2_rout(), SMSCCONN_FAILED_DISCARDED, SMSCCONN_FAILED_EXPIRED, SMSCCONN_FAILED_QFULL, SMSCCONN_QUEUED, and SMSCCONN_SUCCESS.
Referenced by smsc2_start().
int smsc2_add_smsc | ( | Octstr * | id | ) |
Definition at line 1112 of file bb_smscconn.c.
References bb_reload_smsc_groups(), cfg_get, smscconn::dead_start, error(), gw_rwlock_unlock(), gw_rwlock_wrlock(), gwlist_add_producer(), gwlist_append(), gwlist_get(), gwlist_len(), gwlist_remove_producer(), octstr_compare(), octstr_destroy(), octstr_get_cstr, octstr_imm(), smsc2_find(), smsc_groups, smsc_list, smsc_list_lock, smsc_running, smscconn_create(), smscconn_instances(), smscconn_shutdown(), smscconn_start(), and warning().
Referenced by bb_add_smsc().
void smsc2_cleanup | ( | void | ) |
Definition at line 1314 of file bb_smscconn.c.
References black_list_receiver, black_list_receiver_regex, black_list_receiver_url, black_list_sender, black_list_sender_regex, black_list_sender_url, concat_handling_cleanup(), counter_destroy(), debug(), gw_rwlock_destroy(), gw_rwlock_unlock(), gw_rwlock_wrlock(), gwlist_destroy(), gwlist_get(), gwlist_len(), numhash_destroy(), octstr_destroy(), smsc_groups, smsc_list, smsc_list_lock, smsc_running, smscconn_destroy(), split_msg_counter, unified_prefix, white_black_list_lock, white_list_receiver, white_list_receiver_regex, white_list_receiver_url, white_list_sender, white_list_sender_regex, and white_list_sender_url.
Referenced by main().
|
static |
Definition at line 948 of file bb_smscconn.c.
References smscconn::admin_id, gwlist_get(), gwlist_len(), octstr_compare(), smsc_list, and start.
Referenced by concat_handling_clear_old_parts(), smsc2_add_smsc(), smsc2_remove_smsc(), smsc2_restart_smsc(), and smsc2_stop_smsc().
int smsc2_graceful_restart | ( | Cfg * | cfg | ) |
Definition at line 1530 of file bb_smscconn.c.
References cfg, cfg_get_multi_group(), cmp_conn_grp_checksum(), cmp_conn_grp_id(), cmp_rout_grp_checksum(), gw_rwlock_unlock(), gw_rwlock_wrlock(), gwlist_add_producer(), gwlist_append(), gwlist_create, gwlist_delete(), gwlist_destroy(), gwlist_extract_first(), gwlist_get(), gwlist_len(), gwlist_remove_producer(), gwlist_search_all(), gwlist_search_equal(), gwthread_sleep(), gwthread_wakeup(), smscconn::id, info(), octstr_get_cstr, octstr_imm(), router_thread, smsc_groups, smsc_list, smsc_list_lock, smsc_running, smscconn_create(), smscconn_destroy(), smscconn_instances(), smscconn_reconfig(), smscconn_shutdown(), and smscconn_start().
Referenced by bb_graceful_restart().
int smsc2_reload_lists | ( | void | ) |
Definition at line 1174 of file bb_smscconn.c.
References black_list_receiver, black_list_receiver_url, black_list_sender, black_list_sender_url, error(), gw_rwlock_unlock(), gw_rwlock_wrlock(), numhash_create(), numhash_destroy(), octstr_get_cstr, white_black_list_lock, white_list_receiver, white_list_receiver_url, white_list_sender, and white_list_sender_url.
Referenced by bb_reload_lists().
int smsc2_remove_smsc | ( | Octstr * | id | ) |
Definition at line 1083 of file bb_smscconn.c.
References error(), gw_rwlock_unlock(), gw_rwlock_wrlock(), gwlist_add_producer(), gwlist_delete(), gwlist_get(), gwlist_remove_producer(), octstr_get_cstr, smsc2_find(), smsc_list, smsc_list_lock, smsc_running, smscconn_destroy(), and smscconn_shutdown().
Referenced by bb_remove_smsc().
int smsc2_restart_smsc | ( | Octstr * | id | ) |
Definition at line 998 of file bb_smscconn.c.
References bb_reload_smsc_groups(), cfg_get, error(), gw_rwlock_unlock(), gw_rwlock_wrlock(), gwlist_delete(), gwlist_get(), gwlist_insert(), gwlist_len(), gwthread_wakeup(), info(), octstr_compare(), octstr_destroy(), octstr_get_cstr, octstr_imm(), router_thread, smsc2_find(), smsc_groups, smsc_list, smsc_list_lock, smsc_running, smscconn_create(), SMSCCONN_DEAD, smscconn_destroy(), smscconn_start(), smscconn_status(), and warning().
Referenced by bb_restart_smsc().
void smsc2_resume | ( | int | is_init | ) |
Definition at line 1234 of file bb_smscconn.c.
References smscconn::dead_start, gw_rwlock_rdlock(), gw_rwlock_unlock(), gwlist_get(), gwlist_len(), gwthread_wakeup(), router_thread, smsc_list, smsc_list_lock, smsc_running, smscconn_shutdown(), and smscconn_start().
Referenced by bb_resume(), and main().
long smsc2_rout | ( | Msg * | msg, |
int | resend | ||
) |
Definition at line 1716 of file bb_smscconn.c.
References BB_SHUTDOWN, bb_smscconn_send_failed(), bb_status, black_list_receiver, black_list_receiver_regex, black_list_sender, black_list_sender_regex, debug(), error(), gw_rand(), gw_rwlock_rdlock(), gw_rwlock_unlock(), gwlist_get(), gwlist_len(), gwlist_produce(), gwlist_search_equal(), info(), smsc_state::load, max_outgoing_sms_qlength, msg, msg_destroy(), msg_duplicate(), normalize_number(), numhash_find_number(), octstr_create, octstr_get_cstr, outgoing_sms, smsc_state::queued, SMS_PARAM_UNDEFINED, smsc2_rout(), split_parts::smsc_conn, smsc_list, smsc_list_lock, SMSCCONN_ACTIVE, SMSCCONN_FAILED_DISCARDED, SMSCCONN_FAILED_EXPIRED, SMSCCONN_FAILED_QFULL, SMSCCONN_FAILED_REJECTED, smscconn_info(), SMSCCONN_QUEUED, smscconn_send(), SMSCCONN_SUCCESS, smscconn_usable(), smsc_state::status, unified_prefix, warning(), white_black_list_lock, white_list_receiver, white_list_receiver_regex, white_list_sender, and white_list_sender_regex.
Referenced by deliver_sms_to_queue(), route_incoming_to_smsc(), sms_router(), and smsc2_rout().
int smsc2_shutdown | ( | void | ) |
Definition at line 1276 of file bb_smscconn.c.
References concat_handling_shutdown(), gw_rwlock_rdlock(), gw_rwlock_unlock(), gwlist_get(), gwlist_len(), gwlist_remove_producer(), gwthread_wakeup(), incoming_sms, router_thread, smpp_pdu_shutdown(), smsc_list, smsc_list_lock, smsc_running, and smscconn_shutdown().
Referenced by bb_shutdown().
int smsc2_start | ( | Cfg * | cfg | ) |
Definition at line 806 of file bb_smscconn.c.
References black_list_receiver, black_list_receiver_regex, black_list_receiver_url, black_list_sender, black_list_sender_regex, black_list_sender_url, cfg, cfg_get, cfg_get_bool(), cfg_get_integer(), cfg_get_multi_group(), cfg_get_single_group(), cfg_reloaded, concat_handling_init(), concatenated_mo_timeout, counter_create(), gw_rwlock_init_static(), gwlist_add_producer(), gwlist_append(), gwlist_create, gwlist_get(), gwlist_len(), gwlist_remove_producer(), gwthread_create, handle_concatenated_mo, incoming_sms, info(), numhash_create(), octstr_destroy(), octstr_get_cstr, octstr_imm(), panic, router_thread, smpp_pdu_init(), sms_resend_frequency, sms_resend_retry, sms_router(), smsc_groups, smsc_list, smsc_list_lock, smsc_running, smscconn_create(), smscconn_instances(), split_msg_counter, unified_prefix, warning(), white_black_list_lock, white_list_receiver, white_list_receiver_regex, white_list_receiver_url, white_list_sender, white_list_sender_regex, and white_list_sender_url.
Referenced by start_smsc().
Octstr* smsc2_status | ( | int | status_type | ) |
Definition at line 1362 of file bb_smscconn.c.
References bb_status_linebreak(), BBSTATUS_HTML, BBSTATUS_TEXT, BBSTATUS_WML, BBSTATUS_XML, gw_rwlock_rdlock(), gw_rwlock_unlock(), gwlist_get(), gwlist_len(), smscconn::incoming_dlr_load, smscconn::incoming_sms_load, info(), load_get(), octstr_append(), octstr_append_cstr(), octstr_create, octstr_format(), octstr_format_append(), octstr_imm(), smscconn::outgoing_dlr_load, smscconn::outgoing_sms_load, smsc_list, smsc_list_lock, smsc_running, SMSCCONN_ACTIVE, SMSCCONN_ACTIVE_RECV, smscconn_admin_id(), SMSCCONN_CONNECTING, SMSCCONN_DEAD, SMSCCONN_DISCONNECTED, smscconn_id(), smscconn_info(), smscconn_name(), and SMSCCONN_RECONNECTING.
Referenced by bb_print_status().
int smsc2_stop_smsc | ( | Octstr * | id | ) |
Definition at line 968 of file bb_smscconn.c.
References error(), gw_rwlock_rdlock(), gw_rwlock_unlock(), gwlist_get(), info(), octstr_get_cstr, smsc2_find(), smsc_list, smsc_list_lock, smsc_running, SMSCCONN_DEAD, smscconn_shutdown(), and smscconn_status().
Referenced by bb_stop_smsc().
void smsc2_suspend | ( | void | ) |
Definition at line 1259 of file bb_smscconn.c.
References gw_rwlock_rdlock(), gw_rwlock_unlock(), gwlist_get(), gwlist_len(), smsc_list, smsc_list_lock, smsc_running, and smscconn_stop().
Referenced by bb_isolate(), and bb_suspend().
volatile sig_atomic_t bb_status |
Definition at line 132 of file bearerbox.c.
Referenced by sms_router(), and smsc2_rout().
|
static |
Definition at line 141 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_reload_lists(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 147 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 137 of file bb_smscconn.c.
Referenced by smsc2_cleanup(), smsc2_reload_lists(), and smsc2_start().
|
static |
Definition at line 139 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_reload_lists(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 145 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 135 of file bb_smscconn.c.
Referenced by smsc2_cleanup(), smsc2_reload_lists(), and smsc2_start().
Octstr* cfg_filename |
Definition at line 130 of file bearerbox.c.
Referenced by bb_graceful_restart(), bb_reload_smsc_groups(), and main().
|
static |
Definition at line 130 of file bb_smscconn.c.
Referenced by bb_reload_smsc_groups(), and smsc2_start().
|
static |
Definition at line 2022 of file bb_smscconn.c.
Referenced by concat_handling_check_and_handle(), concat_handling_cleanup(), concat_handling_clear_old_parts(), and concat_handling_init().
|
static |
Definition at line 164 of file bb_smscconn.c.
Referenced by concat_handling_clear_old_parts(), sms_router(), and smsc2_start().
List* flow_threads |
Definition at line 116 of file bearerbox.c.
Referenced by bb_smscconn_killed(), bb_smscconn_ready(), and sms_router().
|
static |
Definition at line 162 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), concat_handling_check_and_handle(), concat_handling_shutdown(), and smsc2_start().
|
static |
Definition at line 2021 of file bb_smscconn.c.
Referenced by concat_handling_check_and_handle(), concat_handling_cleanup(), concat_handling_clear_old_parts(), and concat_handling_init().
Counter* incoming_dlr_counter |
Definition at line 92 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_receive_internal(), empty_msg_lists(), and init_bearerbox().
Load* incoming_dlr_load |
Definition at line 104 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_receive_internal(), empty_msg_lists(), and init_bearerbox().
List* incoming_sms |
Definition at line 84 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_killed(), bb_smscconn_ready(), dispatch_into_queue(), empty_msg_lists(), init_bearerbox(), smsc2_shutdown(), and smsc2_start().
Counter* incoming_sms_counter |
Definition at line 90 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_receive(), bb_smscconn_receive_internal(), empty_msg_lists(), and init_bearerbox().
Load* incoming_sms_load |
Definition at line 103 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_receive(), bb_smscconn_receive_internal(), empty_msg_lists(), and init_bearerbox().
List* isolated |
Definition at line 127 of file bearerbox.c.
long max_incoming_sms_qlength |
Definition at line 98 of file bearerbox.c.
Referenced by concat_handling_init(), and init_bearerbox().
long max_outgoing_sms_qlength |
Definition at line 99 of file bearerbox.c.
Referenced by init_bearerbox(), and smsc2_rout().
Counter* outgoing_dlr_counter |
Definition at line 93 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_sent(), empty_msg_lists(), and init_bearerbox().
Load* outgoing_dlr_load |
Definition at line 105 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_sent(), empty_msg_lists(), and init_bearerbox().
List* outgoing_sms |
Definition at line 85 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_send_failed(), dispatch_into_queue(), empty_msg_lists(), handle_split(), init_bearerbox(), sms_router(), and smsc2_rout().
Counter* outgoing_sms_counter |
Definition at line 91 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_sent(), empty_msg_lists(), and init_bearerbox().
Load* outgoing_sms_load |
Definition at line 102 of file bearerbox.c.
Referenced by bb_print_status(), bb_smscconn_sent(), empty_msg_lists(), and init_bearerbox().
|
static |
Definition at line 149 of file bb_smscconn.c.
Referenced by bb_smscconn_connected(), smsc2_graceful_restart(), smsc2_restart_smsc(), smsc2_resume(), smsc2_shutdown(), and smsc2_start().
|
static |
Definition at line 152 of file bb_smscconn.c.
Referenced by sms_router(), and smsc2_start().
|
static |
Definition at line 153 of file bb_smscconn.c.
Referenced by bb_smscconn_send_failed(), handle_split(), and smsc2_start().
|
static |
Definition at line 131 of file bb_smscconn.c.
Referenced by bb_reload_smsc_groups(), smsc2_add_smsc(), smsc2_cleanup(), smsc2_graceful_restart(), smsc2_restart_smsc(), and smsc2_start().
|
static |
Definition at line 128 of file bb_smscconn.c.
Referenced by concat_handling_clear_old_parts(), smsc2_add_smsc(), smsc2_cleanup(), smsc2_find(), smsc2_graceful_restart(), smsc2_remove_smsc(), smsc2_restart_smsc(), smsc2_resume(), smsc2_rout(), smsc2_shutdown(), smsc2_start(), smsc2_status(), smsc2_stop_smsc(), and smsc2_suspend().
|
static |
Definition at line 129 of file bb_smscconn.c.
Referenced by concat_handling_clear_old_parts(), smsc2_add_smsc(), smsc2_cleanup(), smsc2_graceful_restart(), smsc2_remove_smsc(), smsc2_restart_smsc(), smsc2_resume(), smsc2_rout(), smsc2_shutdown(), smsc2_start(), smsc2_status(), smsc2_stop_smsc(), and smsc2_suspend().
|
static |
Definition at line 127 of file bb_smscconn.c.
Referenced by smsc2_add_smsc(), smsc2_cleanup(), smsc2_graceful_restart(), smsc2_remove_smsc(), smsc2_restart_smsc(), smsc2_resume(), smsc2_shutdown(), smsc2_start(), smsc2_status(), smsc2_stop_smsc(), and smsc2_suspend().
Counter* split_msg_counter |
Definition at line 159 of file bb_smscconn.c.
Referenced by smsc2_cleanup(), smsc2_start(), and smscconn_send().
List* suspended |
Definition at line 122 of file bearerbox.c.
|
static |
Definition at line 132 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 134 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_reload_lists(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 142 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_reload_lists(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 146 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 138 of file bb_smscconn.c.
Referenced by smsc2_cleanup(), smsc2_reload_lists(), and smsc2_start().
|
static |
Definition at line 140 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_reload_lists(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 144 of file bb_smscconn.c.
Referenced by bb_smscconn_receive(), smsc2_cleanup(), smsc2_rout(), and smsc2_start().
|
static |
Definition at line 136 of file bb_smscconn.c.
Referenced by smsc2_cleanup(), smsc2_reload_lists(), and smsc2_start().