MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / load_tm

Function load_tm

modules/tm/tm.c:767–829  ·  view source on GitHub ↗

init functions *****************************/

Source from the content-addressed store, hash-verified

765
766/***************************** init functions *****************************/
767int load_tm( struct tm_binds *tmb)
768{
769 tmb->register_tmcb = register_tmcb;
770
771 /* relay function */
772 tmb->t_relay = w_t_relay;
773
774 /* reply functions */
775 tmb->t_reply = (treply_f)w_t_reply;
776 tmb->t_reply_with_body = t_reply_with_body;
777 tmb->t_gen_totag = t_gen_totag;
778
779 /* transaction location/status functions */
780 tmb->t_newtran = w_t_newtran;
781 tmb->t_is_local = t_is_local;
782 tmb->t_check_trans = t_check_trans;
783 tmb->t_get_trans_ident = t_get_trans_ident;
784 tmb->t_lookup_ident = t_lookup_ident;
785 tmb->t_gett = get_t;
786 tmb->t_sett = set_t;
787 tmb->t_get_e2eackt = get_e2eack_t;
788 tmb->t_get_picked = t_get_picked_branch;
789 tmb->t_set_remote_t = t_set_remote_t;
790
791 tmb->t_lookup_original_t = t_lookupOriginalT;
792 tmb->t_release_trans = t_release_transaction;
793 tmb->unref_cell = t_unref_cell;
794 tmb->ref_cell = t_ref_cell;
795 tmb->t_setkr = set_kr;
796
797 tmb->t_cancel_trans = t_cancel_trans;
798 /* tm uac functions */
799 tmb->t_addblind = add_blind_uac;
800 tmb->t_request_within = req_within;
801 tmb->t_request_outside = req_outside;
802 tmb->t_request = request;
803 tmb->new_dlg_uac = new_dlg_uac;
804 tmb->new_auto_dlg_uac = new_auto_dlg_uac;
805 tmb->dlg_add_extra = dlg_add_extra;
806 tmb->dlg_response_uac = dlg_response_uac;
807 tmb->free_dlg = free_dlg;
808 tmb->print_dlg = print_dlg;
809 tmb->setlocalTholder = setlocalTholder;
810 tmb->get_branch_index = get_branch_index;
811 tmb->t_wait_for_new_branches = w_t_wait_for_new_branches;
812 tmb->t_wait_no_more_branches = api_t_wait_no_more_branches;
813 tmb->t_inject_ul_event_branch = t_inject_ul_event_branch;
814
815 /* tm context functions */
816 tmb->t_ctx_register_int = t_ctx_register_int;
817 tmb->t_ctx_register_str = t_ctx_register_str;
818 tmb->t_ctx_register_ptr = t_ctx_register_ptr;
819
820 tmb->t_ctx_put_int = t_ctx_put_int;
821 tmb->t_ctx_put_str = t_ctx_put_str;
822 tmb->t_ctx_put_ptr = t_ctx_put_ptr;
823
824 tmb->t_ctx_get_int = t_ctx_get_int;

Callers 5

mod_initFunction · 0.85
mod_initFunction · 0.85
mod_initFunction · 0.85
load_tm_apiFunction · 0.85
mod_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected