📄 au_ptli.c
字号:
/********************************************************************16**
(c) COPYRIGHT 1989-2005 by
Continuous Computing Corporation.
All rights reserved.
This software is confidential and proprietary to Continuous Computing
Corporation (CCPU). No part of this software may be reproduced,
stored, transmitted, disclosed or used in any form or by any means
other than as expressly provided by the written Software License
Agreement between CCPU and its licensee.
CCPU warrants that for a period, as provided by the written
Software License Agreement between CCPU and its licensee, this
software will perform substantially to CCPU specifications as
published at the time of shipment, exclusive of any updates or
upgrades, and the media used for delivery of this software will be
free from defects in materials and workmanship. CCPU also warrants
that has the corporate authority to enter into and perform under the
Software License Agreement and it is the copyright owner of the software
as originally delivered to its licensee.
CCPU MAKES NO OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY OR FITNESS FOR
A PARTICULAR PURPOSE WITH REGARD TO THIS SOFTWARE, SERVICE OR ANY RELATED
MATERIALS.
IN NO EVENT SHALL CCPU BE LIABLE FOR ANY INDIRECT, SPECIAL,
CONSEQUENTIAL DAMAGES, OR PUNITIVE DAMAGES IN CONNECTION WITH OR ARISING
OUT OF THE USE OF, OR INABILITY TO USE, THIS SOFTWARE, WHETHER BASED
ON BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE), PRODUCT
LIABILITY, OR OTHERWISE, AND WHETHER OR NOT IT HAS BEEN ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
Restricted Rights Legend
This software and all related materials licensed hereby are
classified as "restricted computer software" as defined in clause
52.227-19 of the Federal Acquisition Regulation ("FAR") and were
developed entirely at private expense for nongovernmental purposes,
are commercial in nature and have been regularly used for
nongovernmental purposes, and, to the extent not published and
copyrighted, are trade secrets and confidential and are provided
with all rights reserved under the copyright laws of the United
States. The government's rights to the software and related
materials are limited and restricted as provided in clause
52.227-19 of the FAR.
IMPORTANT LIMITATION(S) ON USE
The use of this software is limited to the use set
forth in the written Software License Agreement between CCPU and
its Licensee. Among other things, the use of this software
may be limited to a particular type of Designated Equipment, as
defined in such Software License Agreement.
Before any installation, use or transfer of this software, please
consult the written Software License Agreement or contact CCPU at
the location set forth below in order to confirm that you are
engaging in a permissible use of the software.
Continuous Computing Corporation
9380, Carroll Park Drive
San Diego, CA-92121, USA
Tel: +1 (858) 882 8800
Fax: +1 (858) 777 3388
Email: support@trillium.com
Web: http://www.ccpu.com
*********************************************************************17*/
/********************************************************************20**
Name: application - portable - lower interface
Type: C source file
Desc: C source code for the lower interface primitives.
File: au_ptli.c
Sid: au_ptli.c@@/main/6 - Fri Sep 16 02:43:26 2005
Prg: aa
*********************************************************************21*/
/*
The following functions are provided in this file:
AuLiMatBndReq au - Lower interface - Bind Request
AuLiMatUbndReq au - Lower interface - Unbind Request
AuLiMatOpenReq au - Lower inteface - MAP Open Request
AuLiMatCloseReq au - Lower inteface - MAP Close Request
AuLiMatDelimReq au - Lower inteface - MAP Delimeter Request
AuLiMatAbrtReq au - Lower inteface - MAP Abrt Request
AuLiMatOpenRsp au - Lower inteface - MAP Open Response
Service specific functions
AuLiMatLocMgmtReq au - Lower inteface - Location Management Request
AuLiMatLocMgmtRsp au - Lower inteface - Location Management Response
AuLiMatHOMgmtReq au - Lower inteface - Handover Management Request
AuLiMatHOMgmtRsp au - Lower inteface - Handover Management Response
AuLiMatAuthMgmtReq au - Lower inteface - Auth. Management Request
AuLiMatAuthMgmtRsp au - Lower inteface - Auth. Management Response
AuLiMatIMEIMgmtReq au - Lower inteface - IMEI Request
AuLiMatIMEIMgmtRsp au - Lower inteface - IMEI Response
AuLiMatSubMgmtReq au - Lower inteface - Subscriber Management Request
AuLiMatSubMgmtRsp au - Lower inteface - Subscriber Management Response
AuLiMatFRMgmtReq au - Lower inteface - Fault/Recovery Management Req.
AuLiMatFRMgmtRsp au - Lower inteface - Fault/Recovery Management Resp.
AuLiMatOAMReq au - Lower inteface - OAM Management Request
AuLiMatOAMRsp au - Lower inteface - OAM Management Response
AuLiMatCallMgmtReq au - Lower inteface - Call Management Request
AuLiMatCallMgmtRsp au - Lower inteface - Call Management Response
AuLiMatSSReq au - Lower inteface - Supplementry Services Request
AuLiMatSSRsp au - Lower inteface - Supplementry Services Response
AuLiMatNwReqPdpCntxtActvReq au - Lower inteface - PDP Contex Actv Request
AuLiMatNwReqPdpCntxtActvRsp au - Lower inteface - PDP Context Actv Response
AuLiMatLocServReq au - Lower inteface - Location Service Request
AuLiMatLocServRsp au - Lower inteface - Location Service Response
*/
/* header include files (.h) */
#include "envopt.h" /* environment options */
#include "envdep.h" /* environment dependent */
#include "envind.h" /* environment independent */
#include "gen.h" /* general layer */
#include "ssi.h" /* system services */
#include "cm_ss7.h" /* common SS7 */
#include "lma.h" /* layer management, MAP */
#include "cm_err.h" /* common error */
#include "stu.h" /* tcap layer */
#include "mat.h" /* map layer */
#ifdef MA_FTHA
#include "sht.h"
#endif /* MA_FTHA */
#include "cm5.h"
#include "ma.h" /* map */
#include "ma_mf.h" /* map */
#include "ma_err.h" /* map error */
#ifdef ZJ
#include "cm_ftha.h" /* Common FTHA */
#include "cm_pftha.h" /* Common PSF defines */
#include "cm_psfft.h"
#include "cm_tupsf.h" /* Common TCAP user PSF */
#endif /* ZJ */
/* header/extern include files (.x) */
#include "gen.x" /* general layer */
#include "ssi.x" /* system services */
#include "cm5.x"
#include "cm_ss7.x" /* SS7 Common */
#include "stu.x" /* tcap layer */
#include "lma.x" /* layer management, TCAP */
#include "mat.x" /* map layer */
#ifdef MA_FTHA
#include "sht.x"
#endif /* MA_FTHA */
#ifdef ZJ
#include "cm_ftha.x" /* Common FTHA */
#include "cm_pftha.x" /* Common PSF defines */
#include "cm_psfft.x"
#include "cm_tupsf.x" /* Common TCAP user PSF */
#endif
#include "ma.x" /* map */
/* local defines */
/* error codes for log error */
#define ERRAU 0
#define EAU002 (ERRAU + 2)
#define EAU003 (ERRAU + 3)
#define EAU004 (ERRAU + 4)
#define EAU005 (ERRAU + 5)
#define EAU006 (ERRAU + 6)
#define EAU007 (ERRAU + 7)
#define EAU008 (ERRAU + 8)
#define EAU009 (ERRAU + 9)
#define EAU010 (ERRAU + 10)
#define EAU011 (ERRAU + 11)
#define EAU012 (ERRAU + 12)
#define EAU013 (ERRAU + 13)
#define EAU014 (ERRAU + 14)
#define EAU015 (ERRAU + 15)
#define EAU016 (ERRAU + 16)
#define EAU017 (ERRAU + 17)
#define EAU018 (ERRAU + 18)
#define EAU019 (ERRAU + 19)
#define EAU020 (ERRAU + 20)
#define EAU021 (ERRAU + 21)
#define EAU022 (ERRAU + 22)
#define EAU023 (ERRAU + 23)
#define EAU024 (ERRAU + 24)
#define EAU025 (ERRAU + 25)
#define EAU026 (ERRAU + 26)
#define EAU027 (ERRAU + 27)
#define EAU028 (ERRAU + 28)
#define EAU029 (ERRAU + 29)
#define EAU030 (ERRAU + 30)
#define EAU031 (ERRAU + 31)
#define EAU032 (ERRAU + 32)
/* local typedefs */
/* local externs */
/* forward references */
/* portable functions */
#if (!(defined(LCAULIMAT) && defined(MA) && defined(LWLCAULIMAT)))
PRIVATE S16 PtLiMatBndReq ARGS((Pst *pst,
SuId suId,
SpId spId));
PRIVATE S16 PtLiMatUbndReq ARGS((Pst *pst,
SpId spId,
Reason reason));
PRIVATE S16 PtLiMatOpenReq ARGS((Pst *pst,
SpId spId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaOpenEv *openEv));
PRIVATE S16 PtLiMatOpenRsp ARGS((Pst *pst,
SpId spId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaOpenEv *openEv));
#ifdef MATV2
PRIVATE S16 PtLiMatDelimReq ARGS((Pst *pst,
SpId spId,
MaDlgId suDlgId,
MaDlgId spDlgId ,
MaDelimReqEv delimReqEv));
#else /* MATV2 */
PRIVATE S16 PtLiMatDelimReq ARGS((Pst *pst,
SpId spId,
MaDlgId suDlgId,
MaDlgId spDlgId
));
#endif /* MATV2 */
PRIVATE S16 PtLiMatCloseReq ARGS((Pst *pst,
SpId spId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaCloseEv *closeEv));
PRIVATE S16 PtLiMatAbrtReq ARGS((Pst *pst,
SpId spId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaAbrtEv *abrtEv));
PRIVATE S16 PtLiMatSteReq ARGS((Pst *pst,
SpId spId,
CmSS7SteMgmt *steMgmt));
PRIVATE S16 PtLiMatSteRsp ARGS((Pst *pst,
SpId spId,
CmSS7SteMgmt *steMgmt));
/* --------------- Handover Management ----------------------------- */
#if MAP_MSC
/* Handover Response and Request */
PRIVATE S16 PtUiMatHOMgmtRsp ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaUsrErr *usrErr,
MaHoEv *hoEv));
PRIVATE S16 PtUiMatHOMgmtReq ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaHoEv *hoEv));
#endif /* MAP_MSC */
/* --------------- Location Management ----------------------------- */
#if (MAP_VLR || MAP_HLR || MAP_GSN)
/* Location Management Request */
PRIVATE S16 PtUiMatLocMgmtReq ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaLocEv *locEv));
/* Location Management Response */
PRIVATE S16 PtUiMatLocMgmtRsp ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaUsrErr *usrErr,
MaLocEv *locEv));
#endif /* MAP_VLR || MAP_HLR || MAP_GSN */
/* --------------- Authentication Management ------------------------ */
#if (MAP_VLR || MAP_GSN)
/* Authentication Management Request */
PRIVATE S16 PtUiMatAuthMgmtReq ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaAuthEv *authEv));
#endif /* MAP_VLR || MAP_GSN */
#if MAP_HLR
/* Authentication Management Response */
PRIVATE S16 PtUiMatAuthMgmtRsp ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaUsrErr *usrErr,
MaAuthEv *authEv));
#endif /* MAP_HLR */
/* --------------- Identification Management ------------------------ */
#if MAP_VLR
/* IMEI Management Response and Request */
PRIVATE S16 PtUiMatIMEIMgmtRsp ARGS((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaUsrErr *usrErr,
MaIMEIEv *imeiEv));
#endif /* MAP_VLR */
#if (MAP_MSC || MAP_GSN)
PRIVATE S16 PtUiMatIMEIMgmtReq ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaIMEIEv *imeiEv));
#endif /* MAP_MSC || MAP_GSN */
/* --------------- Fault and Recovery Management -------------------- */
#if (MAP_VLR || MAP_HLR)
/* Fault and Revovery Management Request and Request */
PRIVATE S16 PtUiMatFRMgmtReq ARGS ((Pst *pst,
SuId suId,
MaDlgId suDlgId,
MaDlgId spDlgId,
MaInvokeId *invkId,
MaOprType locOpr,
MaFREv *frEv));
#endif /* MAP_VLR || MAP_HLR */
#if (MAP_VLR || MAP_HLR || MAP_GSN)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -