Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

smscconn Struct Reference

#include <smscconn_p.h>

Collaboration diagram for smscconn:

Collaboration graph
[legend]

Data Fields

smscconn_status_t status
int load
smscconn_killed_t why_killed
time_t connect_time
Mutexflow_mutex
Counterreceived
Countersent
Counterfailed
volatile sig_atomic_t is_stopped
Octstrname
Octstrid
Listallowed_smsc_id
Listdenied_smsc_id
Listpreferred_smsc_id
regex_t * allowed_smsc_id_regex
regex_t * denied_smsc_id_regex
regex_t * preferred_smsc_id_regex
Octstrallowed_prefix
regex_t * allowed_prefix_regex
Octstrdenied_prefix
regex_t * denied_prefix_regex
Octstrpreferred_prefix
regex_t * preferred_prefix_regex
Octstrunified_prefix
Octstrour_host
Octstrlog_file
long log_level
int log_idx
long reconnect_delay
int alt_dcs
double throughput
int reroute
Dictreroute_by_receiver
Octstrreroute_to_smsc
int reroute_dlr
long max_sms_octets
int(* shutdown )(SMSCConn *conn, int finish_sending)
int(* send_msg )(SMSCConn *conn, Msg *msg)
long(* queued )(SMSCConn *conn)
void(* start_conn )(SMSCConn *conn)
void(* stop_conn )(SMSCConn *conn)
void * data

Field Documentation

Octstr* smscconn::allowed_prefix
 

Definition at line 178 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

regex_t* smscconn::allowed_prefix_regex
 

Definition at line 179 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

List* smscconn::allowed_smsc_id
 

Definition at line 171 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

regex_t* smscconn::allowed_smsc_id_regex
 

Definition at line 174 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

int smscconn::alt_dcs
 

Definition at line 195 of file smscconn_p.h.

Referenced by at2_pdu_encode(), msg_to_pdu(), and packet_encode_message().

time_t smscconn::connect_time
 

Definition at line 154 of file smscconn_p.h.

Referenced by at2_device_thread(), cgw_open_send_connection(), fake_listener(), handle_pdu(), httpsmsc_send_cb(), io_thread(), open_send_connection(), reconnect(), smsc_at2_create(), smsc_cgw_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_soap_create(), smsc_wrapper_create(), smscconn_create(), and smscconn_info().

void* smscconn::data
 

Definition at line 237 of file smscconn_p.h.

Referenced by add_msg_cb(), at2_add_msg_cb(), at2_device_thread(), at2_queued_cb(), at2_shutdown_cb(), at2_start_cb(), brunet_receive_sms(), brunet_send_sms(), cgw_add_msg_cb(), cgw_handle_op(), cgw_listener(), cgw_open_send_connection(), cgw_queued_cb(), cgw_receiver(), cgw_send_loop(), cgw_sender(), cgw_shutdown_cb(), cgw_start_cb(), cimd2_add_msg_cb(), cimd2_handle_request(), cimd2_login(), cimd2_queued_cb(), cimd2_receive_msg(), cimd2_request(), cimd2_shutdown_cb(), cimd2_start_cb(), cimd2_stop_cb(), cimd2_submit_msg(), clickatell_send_sms(), emi2_handle_smscreq(), emi2_idleprocessing(), emi2_idletimeout_handling(), emi2_listener(), emi2_receiver(), emi2_send_loop(), emi2_sender(), fake_listener(), generic_parse_reply(), generic_send_sms(), handle_operation(), httpsmsc_queued(), httpsmsc_receiver(), httpsmsc_send(), httpsmsc_send_cb(), httpsmsc_shutdown(), init_configuration(), io_thread(), kannel_receive_sms(), kannel_send_sms(), main_connection_loop(), oisd_add_msg_cb(), oisd_handle_request(), oisd_login(), oisd_queued_cb(), oisd_receive_msg(), oisd_request(), oisd_send_delivery_request(), oisd_shutdown_cb(), oisd_start_cb(), oisd_stop_cb(), oisd_submit_msg(), open_send_connection(), packet_encode_message(), queued_cb(), reconnect(), send_msg_cb(), shutdown_cb(), sms_receive(), sms_send(), smsc_at2_create(), smsc_cgw_create(), smsc_cimd2_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_oisd_create(), smsc_smasi_create(), smsc_smpp_create(), smsc_soap_create(), smsc_wrapper_create(), soap_add_msg_cb(), soap_listener(), soap_parse_dlr(), soap_parse_mo(), soap_queued_cb(), soap_read_response(), soap_send_loop(), soap_server(), soap_server_start(), soap_shutdown_cb(), soap_start_cb(), soap_stop_cb(), start_cb(), wapme_smsproxy_send_sms(), wrapper_add_msg(), wrapper_queued(), wrapper_receiver(), wrapper_sender(), wrapper_shutdown(), wrapper_start(), wrapper_stop(), xidris_receive_sms(), and xidris_send_sms().

Octstr* smscconn::denied_prefix
 

Definition at line 180 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

regex_t* smscconn::denied_prefix_regex
 

Definition at line 181 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

List* smscconn::denied_smsc_id
 

Definition at line 172 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

regex_t* smscconn::denied_smsc_id_regex
 

Definition at line 175 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

Counter* smscconn::failed
 

Definition at line 163 of file smscconn_p.h.

Referenced by bb_smscconn_send_failed(), smscconn_destroy(), and smscconn_info().

Mutex* smscconn::flow_mutex
 

Definition at line 156 of file smscconn_p.h.

Referenced by at2_device_thread(), cgw_open_send_connection(), cgw_sender(), cimd2_submit_msg(), emi2_sender(), fake_listener(), handle_pdu(), io_thread(), oisd_submit_msg(), open_send_connection(), reconnect(), sms_receive(), smscconn_destroy(), smscconn_info(), smscconn_send(), smscconn_shutdown(), smscconn_start(), smscconn_stop(), soap_listener(), and wrapper_sender().

Octstr* smscconn::id
 

Definition at line 169 of file smscconn_p.h.

Referenced by add_msg_cb(), at2_pdu_decode_report_sm(), at2_send_one_message(), at2_wait_modem_command(), bb_smscconn_receive(), bb_smscconn_send_failed(), bb_smscconn_sent(), brunet_parse_reply(), brunet_receive_sms(), brunet_send_sms(), cgw_handle_op(), cimd2_accept_message(), cimd2_close_socket(), cimd2_destroy(), cimd2_get_packet(), cimd2_handle_request(), cimd2_login(), cimd2_logout(), cimd2_receive_msg(), cimd2_request(), cimd2_send_alive(), cimd2_send_response(), cimd2_shutdown_cb(), cimd2_start_cb(), cimd2_stop_cb(), cimd2_submit_msg(), clickatell_parse_reply(), clickatell_receive_sms(), clickatell_send_sms(), convert_cimd2_to_gsm(), data_sm_to_msg(), do_queue_cleanup(), emi2_handle_smscreq(), generic_parse_reply(), generic_send_sms(), handle_dlr(), handle_operation(), handle_pdu(), httpsmsc_receiver(), httpsmsc_send_cb(), httpsmsc_shutdown(), init_configuration(), init_reroute(), io_thread(), kannel_parse_reply(), kannel_receive_sms(), kannel_send_sms(), main_connection_loop(), msg_to_bb(), msg_to_pdu(), oisd_accept_message(), oisd_close_socket(), oisd_destroy(), oisd_get_packet(), oisd_login(), oisd_receive_msg(), oisd_request(), oisd_send_delivery_request(), oisd_send_response(), oisd_shutdown_cb(), oisd_start_cb(), oisd_stop_cb(), oisd_submit_msg(), open_connection(), open_receiver(), open_transceiver(), open_transmitter(), packet_add_parm(), packet_check(), packet_check_can_receive(), packet_check_header(), packet_check_parameter(), packet_display_error(), packet_encode_message(), packet_extract(), pdu_to_msg(), read_pdu(), send_enquire_link(), send_logoff(), send_messages(), send_unbind(), smasi_thread(), sms_receive(), smsc2_find(), smsc_cimd2_create(), smsc_http_create(), smsc_oisd_create(), smsc_smasi_create(), smsc_smpp_create(), smsc_soap_create(), smscconn_destroy(), smscconn_id(), soap_parse_dlr(), soap_parse_mo(), soap_read_response(), wapme_smsproxy_send_sms(), xidris_parse_reply(), xidris_receive_sms(), and xidris_send_sms().

volatile sig_atomic_t smscconn::is_stopped
 

Definition at line 166 of file smscconn_p.h.

Referenced by cgw_receiver(), cimd2_shutdown_cb(), emi2_handle_smscreq(), emi2_receiver(), handle_pdu(), main_connection_loop(), oisd_shutdown_cb(), smsc_cimd2_create(), smsc_oisd_create(), smsc_soap_create(), smsc_wrapper_create(), smscconn_create(), smscconn_info(), smscconn_start(), smscconn_stop(), and wrapper_sender().

int smscconn::load
 

Definition at line 151 of file smscconn_p.h.

Referenced by at2_queued_cb(), cgw_queued_cb(), cimd2_queued_cb(), oisd_queued_cb(), queued_cb(), smscconn_info(), soap_queued_cb(), and wrapper_queued().

Octstr* smscconn::log_file
 

Definition at line 189 of file smscconn_p.h.

Referenced by smscconn_destroy().

int smscconn::log_idx
 

Definition at line 191 of file smscconn_p.h.

Referenced by at2_device_thread(), cgw_listener(), cgw_sender(), emi2_listener(), emi2_sender(), fake_listener(), httpsmsc_receiver(), httpsmsc_send_cb(), io_thread(), smasi_thread(), wrapper_receiver(), and wrapper_sender().

long smscconn::log_level
 

Definition at line 190 of file smscconn_p.h.

long smscconn::max_sms_octets
 

Definition at line 205 of file smscconn_p.h.

Referenced by smscconn_send().

Octstr* smscconn::name
 

Definition at line 168 of file smscconn_p.h.

Referenced by bb_smscconn_send_failed(), bb_smscconn_sent(), cimd2_accept_delivery_report_message(), cimd2_submit_msg(), init_configuration(), oisd_accept_delivery_report_message(), oisd_submit_msg(), open_send_connection(), reconnect(), shutdown_cb(), sms_receive(), sms_send(), smsc_at2_create(), smsc_cgw_create(), smsc_cimd2_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_oisd_create(), smsc_smpp_create(), smsc_soap_create(), smsc_wrapper_create(), smscconn_destroy(), smscconn_name(), wrapper_receiver(), wrapper_sender(), and wrapper_shutdown().

Octstr* smscconn::our_host
 

Definition at line 186 of file smscconn_p.h.

Referenced by cgw_open_send_connection(), cimd2_login(), emi2_open_listening_socket(), fake_open_connection(), oisd_login(), open_connection(), open_receiver(), open_send_connection(), open_transceiver(), open_transmitter(), smsc_emi2_create(), smsc_http_create(), and smscconn_destroy().

Octstr* smscconn::preferred_prefix
 

Definition at line 182 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

regex_t* smscconn::preferred_prefix_regex
 

Definition at line 183 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

List* smscconn::preferred_smsc_id
 

Definition at line 173 of file smscconn_p.h.

Referenced by smscconn_destroy(), and smscconn_usable().

regex_t* smscconn::preferred_smsc_id_regex
 

Definition at line 176 of file smscconn_p.h.

long(* smscconn::queued)(SMSCConn *conn)
 

Referenced by smsc_at2_create(), smsc_cgw_create(), smsc_cimd2_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_oisd_create(), smsc_smasi_create(), smsc_smpp_create(), smsc_soap_create(), smsc_wrapper_create(), and smscconn_info().

Counter* smscconn::received
 

Definition at line 161 of file smscconn_p.h.

Referenced by bb_smscconn_receive(), smscconn_create(), smscconn_destroy(), and smscconn_info().

long smscconn::reconnect_delay
 

Definition at line 193 of file smscconn_p.h.

Referenced by at2_device_thread(), httpsmsc_send_cb(), io_thread(), open_send_connection(), and smasi_thread().

int smscconn::reroute
 

Definition at line 200 of file smscconn_p.h.

Referenced by init_reroute(), and route_incoming_to_smsc().

Dict* smscconn::reroute_by_receiver
 

Definition at line 201 of file smscconn_p.h.

Referenced by init_reroute(), route_incoming_to_smsc(), and smscconn_destroy().

int smscconn::reroute_dlr
 

Definition at line 203 of file smscconn_p.h.

Referenced by init_reroute(), and route_incoming_to_smsc().

Octstr* smscconn::reroute_to_smsc
 

Definition at line 202 of file smscconn_p.h.

Referenced by init_reroute(), route_incoming_to_smsc(), and smscconn_destroy().

int(* smscconn::send_msg)(SMSCConn *conn, Msg *msg)
 

Referenced by smsc_at2_create(), smsc_cgw_create(), smsc_cimd2_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_oisd_create(), smsc_smasi_create(), smsc_smpp_create(), smsc_soap_create(), smsc_wrapper_create(), and smscconn_send().

Counter* smscconn::sent
 

Definition at line 162 of file smscconn_p.h.

Referenced by bb_smscconn_sent(), smscconn_destroy(), and smscconn_info().

int(* smscconn::shutdown)(SMSCConn *conn, int finish_sending)
 

Referenced by smsc_at2_create(), smsc_cgw_create(), smsc_cimd2_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_oisd_create(), smsc_smasi_create(), smsc_smpp_create(), smsc_soap_create(), smsc_wrapper_create(), and smscconn_shutdown().

void(* smscconn::start_conn)(SMSCConn *conn)
 

Referenced by smsc_at2_create(), smsc_cgw_create(), smsc_cimd2_create(), smsc_emi2_create(), smsc_fake_create(), smsc_oisd_create(), smsc_soap_create(), smsc_wrapper_create(), and smscconn_start().

smscconn_status_t smscconn::status
 

Definition at line 150 of file smscconn_p.h.

Referenced by at2_device_thread(), at2_queued_cb(), at2_start_cb(), cgw_open_send_connection(), cgw_sender(), cgw_wait_command(), cimd2_queued_cb(), cimd2_shutdown_cb(), cimd2_submit_msg(), emi2_sender(), fake_listener(), handle_pdu(), httpsmsc_queued(), httpsmsc_send_cb(), io_thread(), oisd_queued_cb(), oisd_shutdown_cb(), oisd_submit_msg(), open_send_connection(), queued_cb(), reconnect(), shutdown_cb(), smasi_thread(), sms_receive(), smsc_at2_create(), smsc_cgw_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_smasi_create(), smsc_smpp_create(), smsc_soap_create(), smsc_wrapper_create(), smscconn_create(), smscconn_destroy(), smscconn_info(), smscconn_send(), smscconn_shutdown(), smscconn_start(), smscconn_status(), smscconn_stop(), smscconn_usable(), soap_add_msg_cb(), soap_listener(), soap_queued_cb(), soap_shutdown_cb(), soap_start_cb(), soap_stop_cb(), and wrapper_sender().

void(* smscconn::stop_conn)(SMSCConn *conn)
 

Referenced by smsc_cimd2_create(), smsc_oisd_create(), smsc_soap_create(), smsc_wrapper_create(), and smscconn_stop().

double smscconn::throughput
 

Definition at line 197 of file smscconn_p.h.

Referenced by emi2_do_send(), httpsmsc_send(), main_connection_loop(), and send_messages().

Octstr* smscconn::unified_prefix
 

Definition at line 184 of file smscconn_p.h.

Referenced by bb_smscconn_receive(), smscconn_destroy(), and smscconn_send().

smscconn_killed_t smscconn::why_killed
 

Definition at line 152 of file smscconn_p.h.

Referenced by at2_device_thread(), at2_shutdown_cb(), cgw_shutdown_cb(), cimd2_shutdown_cb(), httpsmsc_shutdown(), oisd_shutdown_cb(), reconnect(), shutdown_cb(), smsc_at2_create(), smsc_cgw_create(), smsc_emi2_create(), smsc_fake_create(), smsc_http_create(), smsc_soap_create(), smsc_wrapper_create(), smscconn_create(), smscconn_info(), smscconn_send(), smscconn_shutdown(), smscconn_stop(), smscconn_usable(), soap_shutdown_cb(), soap_start_cb(), wrapper_receiver(), and wrapper_sender().


The documentation for this struct was generated from the following file: See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.