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

📄 au_ptli.cpp

📁 map协议源代码
💻 CPP
📖 第 1 页 / 共 5 页
字号:
                                     MaInvokeId *invkId,
                                     MaOprType  locOpr,
                                     MaInvokeId *lnkId,
                                     MaSSEv *ssEv));
#endif /* MAP_VLR || MAP_HLR */

/* --------------- Short Message Services Management ------------------ */
#if (MAP_MSC || MAP_VLR || MAP_HLR || MAP_GSN)
/* Short Message Services Request */
PRIVATE S16 PtUiMatSMReq ARGS      ((Pst *pst,
                                     SuId suId,
                                     MaDlgId suDlgId,
                                     MaDlgId spDlgId,
                                     MaInvokeId *invkId,
                                     MaOprType  locOpr,
                                     MaSMEv *smEv));

#endif /* MAP_MSC || MAP_VLR || MAP_HLR || MAP_GSN */

#if (MAP_MSC || MAP_HLR || MAP_GSN)
/* Short Message Services Response */
PRIVATE S16 PtUiMatSMRsp ARGS      ((Pst *pst,
                                     SuId suId,
                                     MaDlgId suDlgId,
                                     MaDlgId spDlgId,
                                     MaInvokeId *invkId,
                                     MaOprType  locOpr,
                                     MaUsrErr   *usrErr,
                                     MaSMEv *smEv));
#endif /* MAP_MSC || MAP_HLR || MAP_GSN */

/* --------------- Subscriber Management ------------------------------ */
#if (MAP_VLR || MAP_HLR || MAP_GSN || MAP_MLC)
/* Subscriber Management Request, Response, Response and Request */
PRIVATE S16 PtUiMatSubMgmtRsp ARGS ((Pst *pst,
                                     SuId suId,
                                     MaDlgId suDlgId,
                                     MaDlgId spDlgId,
                                     MaInvokeId *invkId,
                                     MaOprType  locOpr,
                                     MaUsrErr   *usrErr,
                                     MaSubEv *subEv));

#endif /* MAP_VLR || MAP_HLR || MAP_GSN || MAP_MLC */

#if (MAP_VLR || MAP_HLR || MAP_GSN)

PRIVATE S16 PtUiMatSubMgmtReq ARGS ((Pst *pst,
                                     SuId suId,
                                     MaDlgId suDlgId,
                                     MaDlgId spDlgId,
                                     MaInvokeId *invkId,
                                     MaOprType  locOpr,
                                     MaSubEv *subEv));

#endif /* MAP_VLR || MAP_HLR || MAP_GSN */

/* --------------- PDP Context Activation Management ------------------ */
#if (MAP_HLR || MAP_GSN)
/* PDP Context Activation Response and Request */
PRIVATE S16 PtUiMatNwReqPdpCntxtActvRsp ARGS ((Pst *pst,
                                               SuId suId,
                                               MaDlgId suDlgId,
                                               MaDlgId spDlgId,
                                               MaInvokeId *invkId,
                                               MaOprType  locOpr,
                                               MaUsrErr   *usrErr,
                                               MaPdpActvEv *pdpActvEv));
 
PRIVATE S16 PtUiMatNwReqPdpCntxtActvReq ARGS      ((Pst *pst,
                                                    SuId suId,
                                                    MaDlgId suDlgId,
                                                    MaDlgId spDlgId,
                                                    MaInvokeId *invkId,
                                                    MaOprType  locOpr,
                                                    MaPdpActvEv *pdpActvEv));
#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))
/* Location Service Response and Request */
PRIVATE S16 PtUiMatLocServRsp ARGS ((Pst *pst,
                                               SuId suId,
                                               MaDlgId suDlgId,
                                               MaDlgId spDlgId,
                                               MaInvokeId *invkId,
                                               MaOprType  locOpr,
                                               MaUsrErr   *usrErr,
                                               MaLocServEv *locServEv));
#endif /* MAP_HLR || MAP_MSC */

#if (MAP_MSC || MAP_MLC || (MAP_REL99 && MAP_REL4 && MAP_GSN))
PRIVATE S16 PtUiMatLocServReq ARGS      ((Pst *pst,
                                                    SuId suId,
                                                    MaDlgId suDlgId,
                                                    MaDlgId spDlgId,
                                                    MaInvokeId *invkId,
                                                    MaOprType  locOpr,
                                                    MaLocServEv *locServEv));
#endif /* MAP_MLC */

#endif /* MAP_REL98 || MAP_REL99 */
#endif /* (!(defined(LCAULIMAT) && defined(MA) && defined(LWLCAULIMAT))) */

 
/*

the following matrices define the mapping between the primitives
called by the upper interface of MAP and the corresponding
primitives of the MAP service user(s).

The parameter MAXMULI defines the maxiaum number of service users on
top of MAP. There is an array of functions per primitive
invoked by MAP. Every array is MAXMULI long (i.e. there
are as many functions as the number of service users).

The dispatching is performed by the configurable variable: selector.
The selector is configured on a per SAP basis.

The selectors are:

   0 - loosely coupled (#define LCSTUISTU)
   1 - SS7 MAP (#define MA)
   2 - light weight loosely coupled (#define LWLCAULIMAT)

*/

/* MAP Bind Request primitive */

PRIVATE MatBndReq auLiBndReqMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatBndReq,      /* 0 - loosely coupled  */
#else
   PtLiMatBndReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatBndReq,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatBndReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatBndReq,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatBndReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP Unbind Request primitive */

PRIVATE MatUbndReq auLiUbndReqMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatUbndReq,      /* 0 - loosely coupled  */
#else
   PtLiMatUbndReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatUbndReq,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatUbndReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatUbndReq,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatUbndReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP Open Request primitive */

PRIVATE MatOpenReq auLiOpenReqMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatOpenReq,      /* 0 - loosely coupled  */
#else
   PtLiMatOpenReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatOpenReq,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatOpenReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatOpenReq,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatOpenReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP Open Response primitive */

PRIVATE MatOpenRsp auLiOpenRspMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatOpenRsp,      /* 0 - loosely coupled  */
#else
   PtLiMatOpenRsp,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatOpenRsp,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatOpenRsp,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatOpenRsp,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatOpenRsp,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP Close Request primitive */

PRIVATE MatCloseReq auLiCloseReqMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatCloseReq,      /* 0 - loosely coupled  */
#else
   PtLiMatCloseReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatCloseReq,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatCloseReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatCloseReq,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatCloseReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP Delimeter Request primitive */

PRIVATE MatDelimReq auLiDelimReqMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatDelimReq,      /* 0 - loosely coupled  */
#else
   PtLiMatDelimReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatDelimReq,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatDelimReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatDelimReq,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatDelimReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP Abort Request primitive */

PRIVATE MatAbrtReq auLiAbrtReqMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatAbrtReq,      /* 0 - loosely coupled  */
#else
   PtLiMatAbrtReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatAbrtReq,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatAbrtReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatAbrtReq,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatAbrtReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP State Request primitive */

PRIVATE MatSteReq auLiSteReqMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatSteReq,      /* 0 - loosely coupled  */
#else
   PtLiMatSteReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatSteReq,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatSteReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatSteReq,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatSteReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* MAP State Response primitive */

PRIVATE MatSteRsp auLiSteRspMt [MAXAULI] =
{
#ifdef LCAULIMAT
   cmPkMatSteRsp,      /* 0 - loosely coupled  */
#else
   PtLiMatSteRsp,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatSteRsp,        /* 1 - tightly coupled, MAP user */
#else
   PtLiMatSteRsp,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCAULIMAT
   cmPkMatSteRsp,      /* 2 - lightweight loosely coupled  */
#else
   PtLiMatSteRsp,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* Service Specific */

/* --------------- Handover Management ----------------------------- */
#if MAP_MSC
/* Handover Management Response primitive */
 
PUBLIC MatHOMgmtRsp auLiHOMgmtRspMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatHOMgmtRsp,      /* 0 - loosely coupled -fc */
#else
   PtUiMatHOMgmtRsp,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatHOMgmtRsp,        /* 1 - tightly coupled, MAP user */
#else
   PtUiMatHOMgmtRsp,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCMAUIMAT
   cmPkMatHOMgmtRsp,      /* 2 - lightweight loosely coupled -fc */
#else
   PtUiMatHOMgmtRsp,        /* 2 - lightweight loosely coupled, portable */
#endif
};
 
/* Handover Management confirm primitive */
 
PUBLIC MatHOMgmtReq auLiHOMgmtReqMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatHOMgmtReq,      /* 0 - loosely coupled -fc */
#else
   PtUiMatHOMgmtReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatHOMgmtReq,        /* 1 - tightly coupled, MAP user */
#else
   PtUiMatHOMgmtReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCMAUIMAT
   cmPkMatHOMgmtReq,      /* 2 - lightweight loosely coupled -fc */
#else
   PtUiMatHOMgmtReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

#endif /* MAP_MSC */

/* --------------- Location Management ----------------------------- */
#if (MAP_VLR || MAP_HLR || MAP_GSN)
/* Location Management Request primitive */
 
PUBLIC MatLocMgmtReq auLiLocMgmtReqMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatLocMgmtReq,      /* 0 - loosely coupled -fc */
#else
   PtUiMatLocMgmtReq,        /* 0 - loosely coupled, portable */
#endif
#ifdef MA
   MaUiMatLocMgmtReq,        /* 1 - tightly coupled, MAP user */
#else
   PtUiMatLocMgmtReq,        /* 1 - tightly coupled, portable */
#endif
#ifdef LWLCMAUIMAT
   cmPkMatLocMgmtReq,      /* 2 - lightweight loosely coupled -fc */
#else
   PtUiMatLocMgmtReq,        /* 2 - lightweight loosely coupled, portable */
#endif
};

/* Location Management Response primitive */
 
PUBLIC MatLocMgmtRsp auLiLocMgmtRspMt [MAXMAUI] =
{
#ifdef LCMAUIMAT
   cmPkMatLocMgmtRsp,      /* 0 - loosely coupled -fc */
#else
   PtUiMatLocMgmtRsp,        /* 0 - loosely coupled, portable */

⌨️ 快捷键说明

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