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

📄 glbldecl.ifc

📁 是一个手机功能的模拟程序
💻 IFC
字号:
/*
 * Copyright (C) Ericsson Mobile Communications AB, 2001.
 * Licensed to AU-System AB.
 * All rights reserved.
 *
 * This software is covered by the license agreement between
 * the end user and AU-System AB, and may be used and copied
 * only in accordance with the terms of the said agreement.
 *
 * Neither Ericsson Mobile Communications AB nor AU-System AB
 * assumes any responsibility or liability for any errors or inaccuracies in
 * this software, or any consequential, incidental or indirect damage arising
 * out of the use of the Generic WAP Client software.
 */

#ifndef X_IFC_z_Global_Declarations__Global_Declarations
#define X_IFC_z_Global_Declarations__Global_Declarations
#define XMK_IFC_TIME 992930570

/* *************** DECLARATIONS IN PACKAGE Global_Declarations *************** */


/*------------------------------ SYNONYMS -------------------------------*/
#define MAXTRANS SDL_INTEGER_LIT(5)

#define z_Global_Declarations_5_MAXRESTRANS SDL_INTEGER_LIT(1)
#define MAXRESTRANS SDL_INTEGER_LIT(1)

#define MAXSESSIONS SDL_INTEGER_LIT(15)


/*------------------------------- SORTS ---------------------------------*/
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun,4,1) */

#include "wipprdct.h"

#ifndef MAXSESSIONS
  #error  The_SYNONYM_MAXSESSIONS_must_be_defined_at_this_point
#endif

#if  defined CONFIG_PUSH && defined CONFIG_WTA
#elif  defined CONFIG_PUSH || defined CONFIG_WTA
#endif


/*****
* NEWTYPE DeviceAddress  (TYPE section)
* <<PACKAGE Global_Declarations>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),200(45,45),1)
******/
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),200(45,45),10) */
#include "tapicmmn.h"

#define MAX_DEVICE_ADDR_LEN   16

typedef struct {
  UINT8 length;
  BYTE  data[MAX_DEVICE_ADDR_LEN];
} DeviceAddress;



/*****
* NEWTYPE AuxiliaryAddress  (TYPE section)
* <<PACKAGE Global_Declarations>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),203(45,65),1)
******/
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),203(45,65),10) */

#define MAX_AUX_ADDR_LEN       16

typedef struct {
  UINT8 length;
  BYTE  data[MAX_AUX_ADDR_LEN];
} AuxiliaryAddress;



/*****
* NEWTYPE AddressType  (TYPE section)
* <<PACKAGE Global_Declarations>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),206(25,90),1)
******/
typedef struct AddressType_s {
    SDL_Octet  Bearer;
    SDL_Octet  SecondAddressFormat;
    SDL_Octet  ViewID;
    SDL_Octet  ChannelID;
    SDL_Integer  PortNumber;
    DeviceAddress  Address;
    AuxiliaryAddress  SecondAddress;
} AddressType;

/*****
* NEWTYPE DeviceAddress  (HEADING section)
* <<PACKAGE Global_Declarations>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),200(45,45),1)
******/
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),200(45,45),10) */
DeviceAddress
devaddr_null (void);

SDL_Integer
devaddr_getlen (DeviceAddress *paddr);

DeviceAddress
devaddr_fromOS (SDL_Octet_String os);

SDL_Octet_String
devaddr_toOS (DeviceAddress *paddr);

void
devaddr_store (DeviceAddress *paddr, BYTE *buf, UINT8 len);

void
devaddr_get (DeviceAddress *paddr, BYTE *buf, UINT8 *len);



#define yAssF_DeviceAddress(V,E,A)  V = E
extern void yDef_DeviceAddress XPP(( DeviceAddress * ));
extern SDL_Boolean yEq_DeviceAddress XPP(( DeviceAddress, DeviceAddress ));
#define yEqF_DeviceAddress(Expr1,Expr2)  yEq_DeviceAddress(Expr1,Expr2)
#define yNEqF_DeviceAddress(Expr1,Expr2)  ( ! yEq_DeviceAddress(Expr1,Expr2) )
#ifndef ANY_DeviceAddress
#define ANY_DeviceAddress
#endif
#define z_Global_Declarations_17_copy(P)  P

/*****
* NEWTYPE AuxiliaryAddress  (HEADING section)
* <<PACKAGE Global_Declarations>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),203(45,65),1)
******/
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),203(45,65),10) */
AuxiliaryAddress
auxaddr_null (void);

SDL_Integer
auxaddr_getlen (AuxiliaryAddress *paddr);

AuxiliaryAddress
auxaddr_fromOS (SDL_Octet_String os);

SDL_Octet_String
auxaddr_toOS (AuxiliaryAddress *paddr);

void
auxaddr_store (AuxiliaryAddress *paddr, BYTE *buf, UINT8 len);

void
auxaddr_get (AuxiliaryAddress *paddr, BYTE *buf, UINT8 *len);



#define yAssF_AuxiliaryAddress(V,E,A)  V = E
extern void yDef_AuxiliaryAddress XPP(( AuxiliaryAddress * ));
extern SDL_Boolean yEq_AuxiliaryAddress XPP(( AuxiliaryAddress,
  AuxiliaryAddress ));
#define yEqF_AuxiliaryAddress(Expr1,Expr2)  yEq_AuxiliaryAddress(Expr1,Expr2)
#define yNEqF_AuxiliaryAddress(Expr1,Expr2)  ( ! yEq_AuxiliaryAddress(Expr1,Expr2) )
#ifndef ANY_AuxiliaryAddress
#define ANY_AuxiliaryAddress
#endif
#define z_Global_Declarations_27_copy(P)  P

/*****
* NEWTYPE AddressType  (HEADING section)
* <<PACKAGE Global_Declarations>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\packages\global_declarations.sun(2),206(25,90),1)
******/

#define yAssF_AddressType(V,E,A)  V = E
extern void yDef_AddressType XPP(( AddressType * ));
extern SDL_Boolean yEq_AddressType XPP(( AddressType, AddressType ));
#define yEqF_AddressType(Expr1,Expr2)  yEq_AddressType(Expr1,Expr2)
#define yNEqF_AddressType(Expr1,Expr2)  ( ! yEq_AddressType(Expr1,Expr2) )
extern AddressType yMake_AddressType XPP(( SDL_Octet, SDL_Octet, SDL_Octet,
  SDL_Octet, SDL_Integer, DeviceAddress, AuxiliaryAddress ));
#ifndef ANY_AddressType
#define ANY_AddressType  yMake_AddressType(ANY_SDL_Octet, ANY_SDL_Octet, \
  ANY_SDL_Octet, ANY_SDL_Octet, ANY_SDL_Integer, ANY_DeviceAddress, \
  ANY_AuxiliaryAddress)
#endif
#define z_Global_Declarations_33_copy(P)  P

/*------------------------------ SYNONYMS -------------------------------*/
extern SDL_Octet  z_Global_Declarations_7_WTLS_Established;
#define WTLS_Established  z_Global_Declarations_7_WTLS_Established

extern SDL_Octet  z_Global_Declarations_8_WTLS_Abort;
#define WTLS_Abort  z_Global_Declarations_8_WTLS_Abort

#endif
   /* X_IFC_z_Global_Declarations__Global_Declarations */

⌨️ 快捷键说明

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