@@ -191,6 +191,7 @@ int t_add_transaction( struct sip_msg* p_msg );
/* returns 1 if everything was OK or -1 for error */
int t_release_transaction( struct cell *trans );
+typedef int (*trelease_t)(struct cell *t);
int get_ip_and_port_from_uri( str* uri , unsigned int *param_ip,
@@ -141,6 +141,7 @@ int load_tm( struct tm_binds *tmb)
tmb->t_load_contacts = t_load_contacts;
tmb->t_next_contacts = t_next_contacts;
tmb->set_fr = t_set_fr;
+ tmb->t_release_transaction = t_release_transaction;
return 1;
}
@@ -128,6 +128,7 @@ struct tm_binds {
cmd_function t_load_contacts;
cmd_function t_next_contacts;
tset_fr_f set_fr;
+ trelease_t t_release_transaction;
};
typedef struct tm_binds tm_api_t;