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

📄 au_ptli.c

📁 gsm map协议源代码
💻 C
📖 第 1 页 / 共 5 页
字号:
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));
} /* end of AuLiMatSteReq */

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

/* Service Specific */

/* --------------- Handover Management ----------------------------- */
#if MAP_MSC

/* 
* 
*       Fun:   upper interface - Handover Management Response
*  
*       Desc:  This function indicates the receipt of Handover management
*                  request. 
*  
*       Ret:   ROK      - ok
* 
*       Notes: None 
* 
*       File:  au_ptli.c
* 
*/

#ifdef ANSI
PUBLIC S16 AuLiMatHOMgmtRsp
(
Pst        *pst,        /* post structure */
SuId       suId,        /* service user id */
MaDlgId    suDlgId,         /* Service user dialogue Id */
MaDlgId    spDlgId,         /* Service provider dialogue Id */
MaInvokeId *invkId,         /* Invoke Id */
MaOprType  oprType,         /* Operation type */
MaUsrErr   *usrErr,     /* User Error */
MaHoEv     *hoEv            /* Handover Event Structure */              
)
#else
PUBLIC S16 AuLiMatHOMgmtRsp(pst, suId, suDlgId, spDlgId, invkId, oprType, usrErr,hoEv)
Pst      *pst;          /* post structure */
SuId     suId;          /* service user id */
MaDlgId  suDlgId;           /* Service user dialogue Id */
MaDlgId  spDlgId;           /* Service provider dialogue Id */
MaInvokeId *invkId;         /* Invoke Id */
MaOprType  oprType;         /* Operation type */
MaUsrErr   *usrErr;     /* User Error */
MaHoEv     *hoEv;           /* Handover Event Structure */              
#endif
{
   TRC2(AuLiMatHOMgmtRsp)
   RETVALUE((*auLiHOMgmtRspMt[pst->selector])(pst, suId, suDlgId, spDlgId,
                                               invkId,oprType,usrErr, hoEv)); 
} /* end of AuLiMatHOMgmtRsp */

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

#ifdef ANSI
PUBLIC S16 AuLiMatHOMgmtReq
(
Pst        *pst,            /* post structure */
SuId       suId,            /* service user id */
MaDlgId    suDlgId,         /* Service user dialogue Id */
MaDlgId    spDlgId,         /* Service provider dialogue Id */
MaInvokeId *invkId,         /* Invoke Id */
MaOprType  oprType,         /* Operation type */
MaHoEv     *hoEv            /* Handover Event Structure */              
)
#else
PUBLIC S16 AuLiMatHOMgmtReq(pst, suId, suDlgId, spDlgId, invkId, oprType, hoEv)
Pst      *pst;              /* post structure */
SuId     suId;              /* service user id */
MaDlgId  suDlgId;           /* Service user dialogue Id */
MaDlgId  spDlgId;           /* Service provider dialogue Id */
MaInvokeId *invkId;         /* Invoke Id */
MaOprType  oprType;         /* Operation type */
MaHoEv     *hoEv;           /* Handover Event Structure */              
#endif
{
   TRC2(AuLiMatHOMgmtReq)
   RETVALUE((*auLiHOMgmtReqMt[pst->selector])(pst, suId, suDlgId, spDlgId,
                                               invkId,oprType, hoEv)); 
} /* end of AuLiMatHOMgmtReq */

#endif /* MAP_MSC */

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

#if (MAP_VLR || MAP_HLR || MAP_GSN)
/*
*
*       Fun:   upper interface - Location Management Request
*
*       Desc:  This function indicates the receipt of  result of
*              location management request.
*
*       Ret:   ROK      - ok
*
*       Notes: None
*
*       File:  au_ptli.c
*
*/
 
#ifdef ANSI
PUBLIC S16 AuLiMatLocMgmtReq
(
Pst        *pst,        /* post structure */
SuId       suId,        /* service user id */
MaDlgId    suDlgId,     /* Service user dialogue Id */
MaDlgId    spDlgId,     /* Service provider dialogue Id */
MaInvokeId *invkId,     /* Invoke Id */
MaOprType  oprType,     /* Operation type */
MaLocEv    *locEv       /* Location Event Structure */
)
#else
PUBLIC S16 AuLiMatLocMgmtReq(pst, suId, suDlgId, spDlgId, invkId, oprType, locEv)
Pst      *pst;          /* post structure */
SuId     suId;          /* service user id */
MaDlgId  suDlgId;       /* Service user dialogue Id */
MaDlgId  spDlgId;       /* Service provider dialogue Id */
MaInvokeId *invkId;     /* Invoke Id */
MaOprType  oprType;     /* Operation type */
MaLocEv    *locEv;      /* Location Event Structure */
#endif
{
   TRC2(AuLiMatLocMgmtReq)
   RETVALUE((*auLiLocMgmtReqMt[pst->selector])(pst, suId, suDlgId, spDlgId,
                                               invkId,oprType, locEv));
} /* end of AuLiMatLocMgmtReq */

/* Location Management Response */
/*
*
*       Fun:   upper interface - Location Management Response
*
*       Desc:  This function indicates the receipt of location management
*          request.
*
*       Ret:   ROK      - ok
*
*       Notes: None
*
*       File:  au_ptli.c
*
*/
 
#ifdef ANSI
PUBLIC S16 AuLiMatLocMgmtRsp
(
Pst        *pst,        /* post structure */
SuId       suId,        /* service user id */
MaDlgId    suDlgId,     /* Service user dialogue Id */
MaDlgId    spDlgId,     /* Service provider dialogue Id */
MaInvokeId *invkId,     /* Invoke Id */
MaOprType  oprType,     /* Operation type */
MaUsrErr   *usrErr,     /* User Error */
MaLocEv    *locEv       /* Location Event Structure */
)
#else
PUBLIC S16 AuLiMatLocMgmtRsp(pst, suId, suDlgId, spDlgId, invkId, oprType, usrErr, locEv)
Pst      *pst;          /* post structure */
SuId     suId;          /* service user id */
MaDlgId  suDlgId;       /* Service user dialogue Id */
MaDlgId  spDlgId;       /* Service provider dialogue Id */
MaInvokeId *invkId;     /* Invoke Id */
MaOprType  oprType;     /* Operation type */
MaUsrErr   *usrErr;     /* User Error */
MaLocEv    *locEv;      /* Location Event Structure */
#endif
{
   TRC2(AuLiMatLocMgmtRsp)
   RETVALUE((*auLiLocMgmtRspMt[pst->selector])(pst, suId, suDlgId, spDlgId,
                                               invkId,oprType,usrErr,locEv));
} /* end of AuLiMatLocMgmtRsp */
#endif /* MAP_VLR || MAP_HLR || MAP_GSN */

/* --------------- Authentication Management ------------------------ */
#if (MAP_VLR || MAP_GSN)
/*
*
*       Fun:   upper interface - Authintication Management Request
* 
*       Desc:  This function indicates the receipt of  result of
*              Authintication management request.
* 
*       Ret:   ROK      - ok
*
*       Notes: None
*
*       File:  au_ptli.c
*
*/
 
#ifdef ANSI
PUBLIC S16 AuLiMatAuthMgmtReq
(
Pst        *pst,            /* post structure */
SuId       suId,            /* service user id */
MaDlgId    suDlgId,     /* Service user dialogue Id */
MaDlgId    spDlgId,     /* Service provider dialogue Id */
MaInvokeId *invkId,     /* Invoke Id */
MaOprType  oprType,     /* Operation type */
MaAuthEv    *authEv     /* Authintication Event Structure */
)
#else
PUBLIC S16 AuLiMatAuthMgmtReq(pst, suId, suDlgId, spDlgId, invkId, oprType, authEv)
Pst      *pst;              /* post structure */
SuId     suId;              /* service user id */
MaDlgId  suDlgId;       /* Service user dialogue Id */
MaDlgId  spDlgId;       /* Service provider dialogue Id */
MaInvokeId *invkId;     /* Invoke Id */
MaOprType  oprType;     /* Operation type */
MaAuthEv    *authEv;        /* Authintication Event Structure */
#endif
{
   TRC2(AuLiMatAuthMgmtReq)
   RETVALUE((*auLiAuthMgmtReqMt[pst->selector])(pst, suId, suDlgId, spDlgId,
                                               invkId,oprType, authEv));
} /* end of AuLiMatAuthMgmtReq */

#endif /* MAP_VLR || MAP_GSN */

#if MAP_HLR
/*
*
*       Fun:   upper interface - Authintication Management Response
*
*       Desc:  This function indicates the receipt of Authintiaction management
*               request.
*
*       Ret:   ROK      - ok
*
*       Notes: None
*
*       File:  au_ptli.c
*
*/
 
#ifdef ANSI
PUBLIC S16 AuLiMatAuthMgmtRsp
(
Pst        *pst,        /* post structure */
SuId       suId,        /* service user id */
MaDlgId    suDlgId,     /* Service user dia

⌨️ 快捷键说明

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