L/R-REJECT primitives are component primitives and thus have invocation as argument

This commit is contained in:
Harald Welte 2010-07-17 20:32:50 +02:00
parent fc9cc76f02
commit aa3011d53e
2 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ int tcap_cha_proc_components(struct tcap_dialogue *td, struct ComponentPortion *
break; break;
case Component_PR_reject: case Component_PR_reject:
/* TC-R-REJECT or TC-U-REJECT.ind (TCU <- CHA) */ /* TC-R-REJECT or TC-U-REJECT.ind (TCU <- CHA) */
rc = tcap_tcu_tc_r_rej_ind(ti->dialogue, &ti->invoke_id, 0 /* FIXME problem */); rc = tcap_tcu_tc_r_rej_ind(ti, &ti->invoke_id, 0 /* FIXME problem */);
break; break;
case Component_PR_NOTHING: case Component_PR_NOTHING:
break; break;
@ -235,5 +235,5 @@ int tcap_cco_gen_rej(struct tcap_invocation *ti)
{ {
/* FIXME: Assemble REJ component */ /* FIXME: Assemble REJ component */
/* TC-L-REJ.ind (TCU <- CHA) */ /* TC-L-REJ.ind (TCU <- CHA) */
return tcap_tcu_tc_l_rej_ind(ti->dialogue, &ti->invoke_id, 0 /* FIXME problem */); return tcap_tcu_tc_l_rej_ind(ti, &ti->invoke_id, 0 /* FIXME problem */);
} }

View File

@ -56,13 +56,13 @@ int tcap_tcu_tc_invoke_ind(struct tcap_invocation *ti, struct OPERATION *oper, P
} }
/* TC-L-REJECT.ind */ /* TC-L-REJECT.ind */
int tcap_tcu_tc_l_rej_ind(struct tcap_invocation *td, int8_t *invoke_id, uint32_t problem) int tcap_tcu_tc_l_rej_ind(struct tcap_invocation *ti, int8_t *invoke_id, uint32_t problem)
{ {
} }
/* TC-R-REJECT.ind */ /* TC-R-REJECT.ind */
int tcap_tcu_tc_r_rej_ind(struct tcap_invocation *td, int8_t *invoke_id, uint32_t problem) int tcap_tcu_tc_r_rej_ind(struct tcap_invocation *ti, int8_t *invoke_id, uint32_t problem)
{ {
} }