📄 l4_ptui.c
字号:
#ifdef IE
IeLiStuUDatInd, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuUDatInd, /* 4 - tightly coupled, portable */
#endif
};
/* TCAP Component Indication primitive */
PUBLIC StuCmpInd stUiCmpIndMt [MAXL4UI] =
{
#ifdef LCSTUISTU
cmPkStuCmpInd, /* 0 - loosely coupled */
#else
PtUiStuCmpInd, /* 0 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuCmpInd, /* 1 - tightly coupled, TCAP user */
#else
PtUiStuCmpInd, /* 1 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuCmpInd, /* 2 - tightly coupled, TCAP user -MAP */
#else
PtUiStuCmpInd, /* 2 - tightly coupled, portable */
#endif
#ifdef IA
IaLiStuCmpInd, /* 3 - tightly coupled, TCAP user - IS-41 */
#else
PtUiStuCmpInd, /* 3 - tightly coupled, portable */
#endif
#ifdef IE
IeLiStuCmpInd, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuCmpInd, /* 4 - tightly coupled, portable */
#endif
};
/* TCAP Component Confirm primitive */
PUBLIC StuCmpCfm stUiCmpCfmMt [MAXL4UI] =
{
#ifdef LCSTUISTU
cmPkStuCmpCfm, /* 0 - loosely coupled */
#else
PtUiStuCmpCfm, /* 0 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuCmpCfm, /* 1 - tightly coupled, TCAP user */
#else
PtUiStuCmpCfm, /* 1 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuCmpCfm, /* 2 - tightly coupled, TCAP user - MAP */
#else
PtUiStuCmpCfm, /* 2 - tightly coupled, portable */
#endif
#ifdef IA
IaLiStuCmpCfm, /* 3 - tightly coupled, TCAP user - IS-41 */
#else
PtUiStuCmpCfm, /* 3 - tightly coupled, portable */
#endif
#ifdef IE
IeLiStuCmpCfm, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuCmpCfm, /* 4 - tightly coupled, portable */
#endif
};
/* TCAP Notice Indication primitive */
PUBLIC StuNotInd stUiNotIndMt [MAXL4UI] =
{
#ifdef LCSTUISTU
cmPkStuNotInd, /* 0 - loosely coupled */
#else
PtUiStuNotInd, /* 0 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuNotInd, /* 1 - tightly coupled, TCAP user */
#else
PtUiStuNotInd, /* 1 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuNotInd, /* 2 - tightly coupled, TCAP user - MAP */
#else
PtUiStuNotInd, /* 2 - tightly coupled, portable */
#endif
#ifdef IA
IaLiStuNotInd, /* 3 - tightly coupled, TCAP user - IS-41 */
#else
PtUiStuNotInd, /* 3 - tightly coupled, portable */
#endif
#ifdef IE
IeLiStuNotInd, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuNotInd, /* 4 - tightly coupled, portable */
#endif
};
/* TCAP State Indication primitive */
PUBLIC StuSteInd stUiSteIndMt [MAXL4UI] =
{
#ifdef LCSTUISTU
cmPkStuSteInd, /* 0 - loosely coupled */
#else
PtUiStuSteInd, /* 0 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuSteInd, /* 1 - tightly coupled, TCAP user */
#else
PtUiStuSteInd, /* 1 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuSteInd, /* 2 - tightly coupled, TCAP user - MAP */
#else
PtUiStuSteInd, /* 2 - tightly coupled, portable */
#endif
#ifdef IA
IaLiStuSteInd, /* 3 - tightly coupled, TCAP user - IS-41 */
#else
PtUiStuSteInd, /* 3 - tightly coupled, portable */
#endif
#ifdef IE
IeLiStuSteInd, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuSteInd, /* 4 - tightly coupled, portable */
#endif
};
/* TCAP State Confirm primitive */
PUBLIC StuSteCfm stUiSteCfmMt [MAXL4UI] =
{
#ifdef LCSTUISTU
cmPkStuSteCfm, /* 0 - loosely coupled */
#else
PtUiStuSteCfm, /* 0 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuSteCfm, /* 1 - tightly coupled, TCAP user */
#else
PtUiStuSteCfm, /* 1 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuSteCfm, /* 2 - tightly coupled, TCAP user - MAP */
#else
PtUiStuSteCfm, /* 2 - tightly coupled, portable */
#endif
#ifdef IA
IaLiStuSteCfm, /* 3 - tightly coupled, TCAP user - IS-41 */
#else
PtUiStuSteCfm, /* 3 - tightly coupled, portable */
#endif
#ifdef IE
IeLiStuSteCfm, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuSteCfm, /* 4 - tightly coupled, portable */
#endif
};
PUBLIC StuStaInd stUiStaIndMt [MAXL4UI] =
{
#ifdef LCSTUISTU
cmPkStuStaInd, /* 0 - loosely coupled */
#else
PtUiStuStaInd, /* 0 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuStaInd, /* 1 - tightly coupled, TCAP user */
#else
PtUiStuStaInd, /* 1 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuStaInd, /* 2 - tightly coupled, TCAP user - MAP */
#else
PtUiStuStaInd, /* 2 - tightly coupled, portable */
#endif
#ifdef IA
IaLiStuStaInd, /* 3 - tightly coupled, TCAP user - IS-41 */
#else
PtUiStuStaInd, /* 3 - tightly coupled, portable */
#endif
#ifdef IE
IeLiStuStaInd, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuStaInd, /* 4 - tightly coupled, portable */
#endif
};
PUBLIC StuBndCfm stUiBndCfmMt [MAXL4UI] =
{
#ifdef LCSTUISTU
cmPkStuBndCfm, /* 0 - loosely coupled */
#else
PtUiStuBndCfm, /* 0 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuBndCfm, /* 1 - tightly coupled, TCAP user */
#else
PtUiStuBndCfm, /* 1 - tightly coupled, portable */
#endif
#ifdef MA
MaLiStuBndCfm, /* 2 - tightly coupled, TCAP user - MAP */
#else
PtUiStuBndCfm, /* 2 - tightly coupled, portable */
#endif
#ifdef IA
IaLiStuBndCfm, /* 3 - tightly coupled, TCAP user - IS-41 */
#else
PtUiStuBndCfm, /* 3 - tightly coupled, portable */
#endif
#ifdef IE
IeLiStuBndCfm, /* 4 - tightly coupled, TCAP user - INAP */
#else
PtUiStuBndCfm, /* 4 - tightly coupled, portable */
#endif
};
/*
* upper interface functions
*/
/*
*
* Fun: upper interface - TCAP Unidirectional Data Indication
*
* Desc: call Unidirectional Data Indication through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuUDatInd
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
#ifdef STUV3
MaDlgId suDlgId,
MaDlgId spDlgId,
#endif
SpAddr *dstAddr, /* TCAP dest address */
SpAddr *srcAddr, /* TCAP src address */
StQosSet *qosSet, /* TCAP Quality of Service */
Dpc opc, /* originating point code */
StDlgEv *dlgEv, /* TCAP Dialog portion event */
#ifdef STUV2
StDataParam *dataParam, /* data parameter */
#endif /* STUV2 */
Buffer *uiBuf /* TCAP Dialog portion user info buffer */
)
#else
#ifdef STUV2
#ifdef STUV3
PUBLIC S16 StUiStuUDatInd(pst, suId, suDlgId, spDlgId, dstAddr, srcAddr, qosSet, opc, dlgEv,
dataParam, uiBuf)
#else
PUBLIC S16 StUiStuUDatInd(pst, suId, dstAddr, srcAddr, qosSet, opc, dlgEv,
dataParam, uiBuf)
#endif
#else
PUBLIC S16 StUiStuUDatInd(pst, suId, dstAddr, srcAddr, qosSet, opc, dlgEv,
uiBuf)
#endif /* STUV2 */
Pst *pst; /* post structure */
SuId suId; /* service user id */
#ifdef STUV3
MaDlgId suDlgId;
MaDlgId spDlgId;
#endif
SpAddr *dstAddr; /* TCAP dest address */
SpAddr *srcAddr; /* TCAP src address */
StQosSet *qosSet; /* TCAP Quality of Service */
Dpc opc; /* originating point code */
StDlgEv *dlgEv; /* TCAP Dialog portion event */
#ifdef STUV2
StDataParam *dataParam; /* data parameter */
#endif /* STUV2 */
Buffer *uiBuf; /* TCAP Dialog portion user info buffer */
#endif
{
TRC2(StUiStuUDatInd)
#ifdef STUV2
#ifdef STUV3
RETVALUE((*stUiUDatIndMt[pst->selector])(pst, suId, suDlgId, spDlgId, dstAddr, srcAddr,
qosSet, opc, dlgEv, dataParam,uiBuf));
#else
RETVALUE((*stUiUDatIndMt[pst->selector])(pst, suId, dstAddr, srcAddr,
qosSet, opc, dlgEv, dataParam,uiBuf));
#endif
#else /* STUV2 */
RETVALUE((*stUiUDatIndMt[pst->selector])(pst, suId, dstAddr, srcAddr,
qosSet, opc, dlgEv, uiBuf));
#endif /* STUV2 */
} /* end of StUiStuUDatInd */
/*
*
* Fun: upper interface - TCAP Data Indication
*
* Desc: call Data Indication through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuDatInd
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
U8 msgType, /* message type */
StDlgId suDlgId, /* user dialog id */
StDlgId spDlgId, /* provider dialog id */
SpAddr *dstAddr, /* TCAP dest address */
SpAddr *srcAddr, /* TCAP src address */
Bool compsPres, /* terminating dialog */
StOctet *pAbrtCause, /* Abort information if abort component */
StQosSet *qosSet, /* TCAP Quality of Service */
Dpc opc, /* originating point code */
StDlgEv *dlgEv, /* TCAP Dialog portion event */
#ifdef STUV2
StDataParam *dataParam, /* data parameter */
#endif /* STUV2 */
Buffer *uiBuf /* TCAP Dialog portion user info buffer */
)
#else
#ifdef STUV2
PUBLIC S16 StUiStuDatInd(pst, suId, msgType, suDlgId, spDlgId,
dstAddr, srcAddr, compsPres, pAbrtCause,
qosSet, opc, dlgEv,dataParam, uiBuf)
#else /* STUV2 */
PUBLIC S16 StUiStuDatInd(pst, suId, msgType, suDlgId, spDlgId,
dstAddr, srcAddr, compsPres, pAbrtCause,
qosSet, opc, dlgEv,uiBuf)
#endif /* STUV2 */
Pst *pst; /* post structure */
SuId suId; /* service user id */
U8 msgType; /* message type */
StDlgId suDlgId; /* user dialog id */
StDlgId spDlgId; /* provider dialog id */
SpAddr *dstAddr; /* TCAP dest address */
SpAddr *srcAddr; /* TCAP src address */
Bool compsPres; /* terminating dialog */
StOctet *pAbrtCause; /* Abort information if abort component */
StQosSet *qosSet; /* TCAP Quality of Service */
Dpc opc; /* originating point code */
StDlgEv *dlgEv; /* TCAP Dialog portion event */
#ifdef STUV2
StDataParam *dataParam; /* data Parameter */
#endif /* STUV2 */
Buffer *uiBuf; /* TCAP Dialog portion user info buffer */
#endif
{
TRC2(StUiStuDatInd)
#ifdef STUV2
RETVALUE((*stUiDatIndMt[pst->selector])(pst, suId, msgType, suDlgId,
spDlgId, dstAddr, srcAddr,
compsPres, pAbrtCause, qosSet,
opc, dlgEv, dataParam,uiBuf));
#else
RETVALUE((*stUiDatIndMt[pst->selector])(pst, suId, msgType, suDlgId,
spDlgId, dstAddr, srcAddr,
compsPres, pAbrtCause, qosSet,
opc, dlgEv, uiBuf));
#endif /* STUV2 */
} /* end of StUiStuDatInd */
/*
*
* Fun: upper interface - TCAP Component Indication
*
* Desc: call Component Indication through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuCmpInd
(
Pst *pst, /* post structure */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -