⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 au_ptli.cpp

📁 map协议源代码
💻 CPP
📖 第 1 页 / 共 5 页
字号:
#endif /* MAP_VLR || MAP_HLR || MAP_GSN */

/* --------------- PDP Context Activation Management ------------------ */
#if (MAP_HLR || MAP_GSN)
/* Pdp Cntxt Act.Response primitive */
 
PUBLIC MatNwReqPdpCntxtActvRsp auLiNwReqPdpCntxtActvRspMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatNwReqPdpCntxtActvRsp,      /* 0 - loosely coupled -fc */
#else
   PtUiMatNwReqPdpCntxtActvRsp,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatNwReqPdpCntxtActvRsp,        /* 1 - tightly coupled, MAP user */
#else
   PtUiMatNwReqPdpCntxtActvRsp,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCMAUIMAT
   cmPkMatNwReqPdpCntxtActvRsp,      /* 2 - lightweight loosely coupled -fc */
#else
   PtUiMatNwReqPdpCntxtActvRsp,        /* 2 - lightweight loosely coupled, portable */
#endif
};
 
/* Pdp Cntxt Act.confirm primitive */
 
PUBLIC MatNwReqPdpCntxtActvReq auLiNwReqPdpCntxtActvReqMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatNwReqPdpCntxtActvReq,      /* 0 - loosely coupled -fc */
#else
   PtUiMatNwReqPdpCntxtActvReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatNwReqPdpCntxtActvReq,        /* 1 - tightly coupled, MAP user */
#else
   PtUiMatNwReqPdpCntxtActvReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCMAUIMAT
   cmPkMatNwReqPdpCntxtActvReq,      /* 2 - lightweight loosely coupled -fc */
#else
   PtUiMatNwReqPdpCntxtActvReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};
#endif /* MAP_HLR || MAP_GSN */

#if (MAP_REL98 || MAP_REL99)

/* --------------- Location Services Management ------------------ */

#if (MAP_MSC || MAP_HLR || MAP_MLC || (MAP_REL99 && MAP_REL4 && MAP_GSN))
/* Loc. Serv. Response primitive */
 
PUBLIC MatLocServRsp auLiLocServRspMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatLocServRsp,      /* 0 - loosely coupled -fc */
#else
   PtUiMatLocServRsp,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatLocServRsp,        /* 1 - tightly coupled, MAP user */
#else
   PtUiMatLocServRsp,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCMAUIMAT
   cmPkMatLocServRsp,      /* 2 - lightweight loosely coupled -fc */
#else
   PtUiMatLocServRsp,        /* 2 - lightweight loosely coupled, portable */
#endif
};
#endif /* MAP_HLR || MAP_MSC */

#if (MAP_MSC || MAP_MLC || (MAP_REL99 && MAP_REL4 && MAP_GSN))

/* Location Service confirm primitive */
 
PUBLIC MatLocServReq auLiLocServReqMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatLocServReq,      /* 0 - loosely coupled -fc */
#else
   PtUiMatLocServReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatLocServReq,        /* 1 - tightly coupled, MAP user */
#else
   PtUiMatLocServReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCMAUIMAT
   cmPkMatLocServReq,      /* 2 - lightweight loosely coupled -fc */
#else
   PtUiMatLocServReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};
#endif /* MAP_MLC */

#endif /* MAP_REL98 || MAP_REL99 */

/*
*     Lower interface functions
*/
  
/* 
* 
*       Fun:   lower interface - MAP Bind Request
*  
*       Desc:  This function indicates the receipt of a bind request  
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatBndReq
(
Pst      *pst,              /* post structure */
SuId     suId,              /* service user id */
SpId     spId               /* service provider id */
)
#else
PUBLIC S16 AuLiMatBndReq(pst, suId, spId)
Pst      *pst;              /* post structure */
SuId     suId;              /* service user id */
SpId     spId;              /* service provider id */
#endif
{
   TRC2(AuLiMatBndReq)
   RETVALUE((*auLiBndReqMt[pst->selector])(pst, suId, spId));
} /* end of AuLiMatBndReq */

/* 
* 
*       Fun:   lower interface - MAP Unbind Request
*  
*       Desc:  This function indicates the receipt of a unbind request  
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatUbndReq
(
Pst      *pst,              /* post structure */
SpId     spId,              /* service provider id */
Reason   reason             /* Reason for unbind */
)
#else
PUBLIC S16 AuLiMatUbndReq(pst, spId,reason)
Pst      *pst;              /* post structure */
SpId     spId;              /* service provider id */
Reason   reason;            /* Reason for unbind */
#endif
{
   TRC2(AuLiMatUbndReq)
   RETVALUE((*auLiUbndReqMt[pst->selector])(pst, spId, spId));
} /* end of AuLiMatUbndReq */


/* 
* 
*       Fun:   lower interface - MAP Open Request
*  
*       Desc:  This function indicates the receipt of a MAP Open Request
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatOpenReq
(
Pst      *pst,              /* post structure */
SpId     spId,              /* service user id */
MaDlgId  suDlgId,           /* Service user dialogue Id */
MaDlgId  spDlgId,           /* Service provider dialogue Id */
MaOpenEv *openEv            /* Open Event Structure */          
)
#else
PUBLIC S16 AuLiMatOpenReq(pst, spId, suDlgId, spDlgId, openEv)
Pst      *pst;              /* post structure */
SpId     spId;              /* service user id */
MaDlgId  suDlgId;           /* Service user dialogue Id */
MaDlgId  spDlgId;           /* Service provider dialogue Id */
MaOpenEv *openEv;           /* Open Event Structure */          
#endif
{
   TRC2(AuLiMatOpenReq)
   RETVALUE((*auLiOpenReqMt[pst->selector])(pst, spId, suDlgId, spDlgId, 
                                            openEv));
} /* end of AuLiMatOpenReq */

/* 
* 
*       Fun:   upper interface - MAP Open Response
*  
*       Desc:  This function indicates the receipt of MAP Open response
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatOpenRsp
(
Pst      *pst,              /* post structure */
SpId     spId,              /* service user id */
MaDlgId  suDlgId,           /* Service user dialogue Id */
MaDlgId  spDlgId,           /* Service provider dialogue Id */
MaOpenEv *openEv            /* Open Event Structure */          
)
#else
PUBLIC S16 AuLiMatOpenRsp(pst, spId, suDlgId, spDlgId, openEv)
Pst      *pst;              /* post structure */
SpId     spId;              /* service user id */
MaDlgId  suDlgId;           /* Service user dialogue Id */
MaDlgId  spDlgId;           /* Service provider dialogue Id */
MaOpenEv *openEv;           /* Open Event Structure */          
#endif
{
   TRC2(AuLiMatOpenRsp)
   RETVALUE((*auLiOpenRspMt[pst->selector])(pst, spId, suDlgId, spDlgId, 
                                            openEv));
} /* end of AuLiMatOpenRsp */

/* 
* 
*       Fun:   upper interface - MAP Close Request
*  
*       Desc:  This function indicates the receipt of MAP Close Request
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatCloseReq
(
Pst       *pst,             /* post structure */
SpId      spId,             /* service user id */
MaDlgId   suDlgId,          /* Service user dialogue Id */
MaDlgId   spDlgId,          /* Service provider dialogue Id */
MaCloseEv *closeEv          /* Close Event Structure */         
)
#else
PUBLIC S16 AuLiMatCloseReq(pst, spId, suDlgId, spDlgId, closeEv)
Pst       *pst;             /* post structure */
SpId      spId;             /* service user id */
MaDlgId   suDlgId;          /* Service user dialogue Id */
MaDlgId   spDlgId;          /* Service provider dialogue Id */
MaCloseEv *closeEv;         /* Close Event Structure */         
#endif
{
   TRC2(AuLiMatOpenReq)
   RETVALUE((*auLiCloseReqMt[pst->selector])(pst, spId, suDlgId, spDlgId, 
                                            closeEv));
} /* end of AuLiMatCloseReq */

/* 
* 
*       Fun:   upper interface - MAP Delimeter Request
*  
*       Desc:  This function indicates the receipt of MAP delimeter request.
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatDelimReq
(
Pst        *pst,            /* post structure */
SpId       spId,            /* service user id */
MaDlgId    suDlgId,         /* Service user dialogue Id */
MaDlgId    spDlgId          /* Service provider dialogue Id */
#ifdef MATV2
,MaDelimReqEv delimReqEv /* Delimiter request event structure */
#endif /* MATV2 */
)
#else
#ifdef MATV2
PUBLIC S16 AuLiMatDelimReq(pst, spId, suDlgId, spDlgId, delimReqEv)
#else
PUBLIC S16 AuLiMatDelimReq(pst, spId, suDlgId, spDlgId)
#endif /* MATV2 */
Pst       *pst;             /* post structure */
SpId      spId;             /* service user id */
MaDlgId   suDlgId;          /* Service user dialogue Id */
MaDlgId   spDlgId;          /* Service provider dialogue Id */
#ifdef MATV2
MaDelimReqEv delimReqEv;   /* Delimiter request event structure */
#endif /* MATV2 */
#endif
{
   TRC2(AuLiMatDelimReq)
#ifdef MATV2
   RETVALUE((*auLiDelimReqMt[pst->selector])(pst, spId, suDlgId, spDlgId,
                       delimReqEv));
#else /* MATV2 */
   RETVALUE((*auLiDelimReqMt[pst->selector])(pst, spId, suDlgId, spDlgId));
#endif /* MATV2 */
} /* end of AuLiMatDelimReq */

/* 
* 
*       Fun:   upper interface - MAP Abort Request
*  
*       Desc:  This function indicates the receipt of MAP Abort request
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatAbrtReq
(
Pst      *pst,              /* post structure */
SpId     spId,              /* service user id */
MaDlgId  suDlgId,           /* Service user dialogue Id */
MaDlgId  spDlgId,           /* Service provider dialogue Id */
MaAbrtEv *abrtEv            /* Abort Event Structure */         
)
#else
PUBLIC S16 AuLiMatAbrtReq(pst, spId, suDlgId, spDlgId, abrtEv)
Pst      *pst;              /* post structure */
SpId     spId;              /* service user id */
MaDlgId  suDlgId;           /* Service user dialogue Id */
MaDlgId  spDlgId;           /* Service provider dialogue Id */
MaAbrtEv *abrtEv;           /* Abort Event Structure */         
#endif
{
   TRC2(AuLiMatAbrtReq)
   RETVALUE((*auLiAbrtReqMt[pst->selector])(pst, spId, suDlgId, spDlgId, 
                                            abrtEv));
} /* end of AuLiMatAbrtReq */

 
/*  
*  
*       Fun:   upper interface - MAP SSN and PC state Request
*   
*       Desc:  call Ste Request through matrix selector
*   
*       Ret:   ROK      - ok 
*  
*       Notes: None  
*  
*       File:  au_ptli.c
*  
*/ 
 
#ifdef ANSI
PUBLIC S16 AuLiMatSteReq
(
Pst *pst,                   /* post structure */
SpId spId,                  /* service user id */
CmSS7SteMgmt  *steMgmt      /* SSN and PC Status Management */
)
#else
PUBLIC S16 AuLiMatSteReq(pst, spId, steMgmt)
Pst *pst;                   /* post structure */
SpId spId;                  /* service user id */
CmSS7SteMgmt  *steMgmt;     /* SSN and PC Status Management */
#endif
{
   TRC2(AuLiMatSteReq)
   RETVALUE((*auLiSteReqMt[pst->selector])(pst, spId, steMgmt));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -