📄 l4_ptui.c
字号:
SuId suId, /* service user id */
StDlgId suDlgId, /* dialog Id */
StDlgId spDlgId, /* dialog Id */
StComps *compEv, /* component */
Dpc opc, /* originating point code */
Status status, /* status */
Buffer *cpBuf /* Component parameter buffer */
)
#else
PUBLIC S16 StUiStuCmpInd(pst, suId, suDlgId, spDlgId, compEv, opc,
status, cpBuf)
Pst *pst; /* post structure */
SuId suId; /* service user id */
StDlgId suDlgId; /* dialog Id */
StDlgId spDlgId; /* dialog Id */
StComps *compEv; /* component */
Dpc opc; /* originating point code */
Status status; /* status */
Buffer *cpBuf; /* Component parameter buffer */
#endif
{
TRC2(StUiStuCmpInd)
RETVALUE((*stUiCmpIndMt[pst->selector])(pst, suId, suDlgId,
spDlgId, compEv, opc, status,
cpBuf));
} /* end of StUiStuCmpInd */
/*
*
* Fun: upper interface - TCAP Component Confirm
*
* Desc: call Component Confirm through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuCmpCfm
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
StDlgId suDlgId, /* dialog Id */
StDlgId spDlgId /* dialog Id */
)
#else
PUBLIC S16 StUiStuCmpCfm(pst, suId, suDlgId, spDlgId)
Pst *pst; /* post structure */
SuId suId; /* service user id */
StDlgId suDlgId; /* dialog Id */
StDlgId spDlgId; /* dialog Id */
#endif
{
TRC2(StUiStuCmpCfm)
RETVALUE((*stUiCmpCfmMt[pst->selector])(pst, suId, suDlgId, spDlgId));
} /* end of StUiStuCmpCfm */
/*
*
* Fun: upper interface - TCAP Service Indication
*
* Desc: call Service Indication through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuNotInd
(
Pst *pst, /* post structure */
SuId suId, /* service user sap id */
StDlgId suDlgId, /* service user dialog id */
StDlgId spDlgId, /* service provider dialog id */
SpAddr *dstAddr, /* destination address */
SpAddr *srcAddr, /* source address */
#ifdef STUV2
StDataParam *dataParam, /* Data Parameter */
#endif /* STUV2 */
RCause ret /* return cause */
)
#else
#ifdef STUV2
PUBLIC S16 StUiStuNotInd(pst, suId, suDlgId, spDlgId, dstAddr, srcAddr,
dataParam, ret)
#else /* STUV2 */
PUBLIC S16 StUiStuNotInd(pst, suId, suDlgId, spDlgId, dstAddr, srcAddr,
ret)
#endif /* STUV2 */
Pst *pst; /* post structure */
SuId suId; /* service user sap id */
StDlgId suDlgId; /* service user dialog id */
StDlgId spDlgId; /* service provider dialog id */
SpAddr *dstAddr; /* destination address */
SpAddr *srcAddr; /* source address */
#ifdef STUV2
StDataParam *dataParam; /* Data Parameter */
#endif /* STUV2 */
RCause ret; /* return cause */
#endif
{
TRC2(StUiStuNotInd)
#ifdef STUV2
RETVALUE((*stUiNotIndMt[pst->selector])(pst, suId, suDlgId, spDlgId,
dstAddr, srcAddr, dataParam,ret));
#else /* STUV2 */
RETVALUE((*stUiNotIndMt[pst->selector])(pst, suId, suDlgId, spDlgId,
dstAddr, srcAddr, ret));
#endif /* STUV2 */
} /* end of StUiStuNotInd */
/*
*
* Fun: upper interface - TCAP SSN and PC state Indication
*
* Desc: call Ste Indication through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuSteInd
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
CmSS7SteMgmt *steMgmt /* Status management structure */
#ifdef STUV2
, StMgmntParam *mgmntParam
#endif /* STUV2 */
)
#else
#ifdef STUV2
PUBLIC S16 StUiStuSteInd(pst, suId, steMgmt,mgmntParam)
#else /* STUV2 */
PUBLIC S16 StUiStuSteInd(pst, suId, steMgmt)
#endif /* STUV2 */
Pst *pst; /* post structure */
SuId suId; /* service user id */
CmSS7SteMgmt *steMgmt; /* Status management structure */
#ifdef STUV2
StMgmntParam *mgmntParam;
#endif /* STUV2 */
#endif
{
TRC2(StUiStuSteInd)
#ifdef STUV2
RETVALUE((*stUiSteIndMt[pst->selector])(pst, suId, steMgmt,mgmntParam));
#else /* STUV2 */
RETVALUE((*stUiSteIndMt[pst->selector])(pst, suId, steMgmt));
#endif /* STUV2 */
} /* end of StUiStuSteInd */
/*
*
* Fun: upper interface - TCAP SSN and PC state Confirm
*
* Desc: call Ste Confirm through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuSteCfm
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
CmSS7SteMgmt *steMgmt /* Status management structure */
#ifdef STUV2
,StMgmntParam *mgmntParam /* Management Parameter */
#endif /* STUV2 */
)
#else
#ifdef STUV2
PUBLIC S16 StUiStuSteCfm(pst, suId, steMgmt,mgmntParam)
#else /* STUV2 */
PUBLIC S16 StUiStuSteCfm(pst, suId, steMgmt)
#endif /* STUV2 */
Pst *pst; /* post structure */
SuId suId; /* service user id */
CmSS7SteMgmt *steMgmt; /* Status management structure */
#ifdef STUV2
StMgmntParam *mgmntParam; /* Management Parameter */
#endif /* STUV2 */
#endif
{
TRC2(StUiStuSteCfm)
#ifdef STUV2
RETVALUE((*stUiSteCfmMt[pst->selector])(pst, suId, steMgmt,mgmntParam));
#else /* STUV2 */
RETVALUE((*stUiSteCfmMt[pst->selector])(pst, suId, steMgmt));
#endif /* STUV2 */
} /* end of StUiStuSteCfm */
/*
*
* Fun: upper interface - TCAP Status Indication
*
* Desc: call Status Indication through matrix selector
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuStaInd
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
Status status /* status */
)
#else
PUBLIC S16 StUiStuStaInd(pst, suId, status)
Pst *pst; /* post structure */
SuId suId; /* service user id */
Status status; /* status */
#endif
{
TRC2(StUiStuStaInd)
RETVALUE((*stUiStaIndMt[pst->selector])(pst, suId, status));
} /* end of StUiStuStaInd */
/*
*
* Fun: Upper Interface - TCAP Bind Confirm
*
* Desc: Bind Confirm
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PUBLIC S16 StUiStuBndCfm
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
U8 status /* status */
)
#else
PUBLIC S16 StUiStuBndCfm(pst, suId, status)
Pst *pst; /* post structure */
SuId suId; /* service user id */
U8 status; /* status */
#endif
{
TRC2(StUiStuBndCfm)
RETVALUE((*stUiBndCfmMt[pst->selector])(pst, suId, status));
} /* end of StUiStuBndCfm */
/*
* portable functions
*/
/*
*
* Fun: portable - TCAP Unidirectional Data Indication
*
* Desc: user defined Unidirectional data indication
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PRIVATE S16 PtUiStuUDatInd
(
Pst *pst, /* post structure */
SuId suId, /* service user id */
#ifdef STUV3
MaDlgId suDlgId,
MaDlgId spDlgId,
#endif
SpAddr *dstAddr, /* destination address */
SpAddr *srcAddr, /* source address */
StQosSet *qosSet, /* 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
PRIVATE S16 PtUiStuUDatInd(pst, suId, suDlgId, suDlgId, dstAddr, srcAddr, qosSet, opc, dlgEv,
dataParam, uiBuf)
#else
PRIVATE S16 PtUiStuUDatInd(pst, suId, dstAddr, srcAddr, qosSet, opc, dlgEv,
dataParam, uiBuf)
#endif
#else /* STUV2 */
PRIVATE S16 PtUiStuUDatInd(pst, suId, dstAddr, srcAddr, qosSet, opc, dlgEv,
uiBuf)
#endif /* STUV2 */
Pst *pst; /* post structure */
SuId suId; /* service user id */
#ifdef STUV3
MaDlgId suDlgId;
MaDlgId suDlgId;
#endif
SpAddr *dstAddr; /* destination address */
SpAddr *srcAddr; /* source address */
StQosSet *qosSet; /* 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(PtUiStuUDatInd)
UNUSED(pst);
UNUSED(suId);
#ifdef STUV3
UNUSED(suDlgId);
UNUSED(spDlgId);
#endif
UNUSED(dstAddr);
UNUSED(srcAddr);
UNUSED(qosSet);
UNUSED(opc);
UNUSED(dlgEv);
UNUSED(uiBuf);
#if (ERRCLASS & ERRCLS_DEBUG)
L4LOGERROR(ERRCLS_DEBUG, EL4002, (ErrVal)0, "PtUiStuUDatInd () Failed");
#endif
RETVALUE(ROK);
} /* end of PtUiStuUDatInd */
/*
*
* Fun: portable - TCAP Data Indication
*
* Desc: user defined data indication
*
* Ret: ROK - ok
*
* Notes: None
*
* File: l4_ptui.c
*
*/
#ifdef ANSI
PRIVATE S16 PtUiStuDatInd
(
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, /* destination address */
SpAddr *srcAddr, /* source address */
Bool compsPres, /* component present flag */
StOctet *pAbrtCause, /* Abort information if abort message */
StQosSet *qosSet, /* 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
PRIVATE S16 PtUiStuDatInd(pst, suId, msgType, suDlgId, spDlgId, dstAddr,
srcAddr, compsPres, pAbrtCause, qosSet, opc, dlgEv,dataParam,uiBuf)
#else /* STUV2 */
PRIVATE S16 PtUiStuDatInd(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 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -