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

📄 wae_ua.c

📁 是一个手机功能的模拟程序
💻 C
📖 第 1 页 / 共 5 页
字号:
/*
 * 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.
 */

/* Program generated by SDT Cmicro, version 1.33 */

#ifndef XSCT_CMICRO
#define XSCT_CMICRO
#endif

#define C_MICRO_1_3
#include "ml_typw.h"
#include "ctypes.h"
#include "buffmgt.h"
#include "glbldecl.h"
#include "wdp_ul.h"
#include "wspcmwtp.h"
#include "wtppckg.h"
#include "wdp_udp.h"
#include "wtp_wdp.h"
#include "wdppckg.h"
#include "wspclwdp.h"
#include "wae_wsp.h"
#include "stackmgr.h"
#include "waepckg.h"
#include "wap.h"
#include "wae.h"

/*************************************************************************
**                SECTION Types and Forward references                  **
*************************************************************************/

/*****
* NEWTYPE DisplayInfoType  (TYPE section)
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua.sbk(2),2288(20,170),1)
******/
typedef struct z00228_DisplayInfoType_s {
    z_ctypes_4_VoidStar  CardURL;
    z_ctypes_4_VoidStar  Card;
    SDL_Integer  Refresh;
    SDL_Octet  Options;
    SDL_Integer  ImagesEnabled;
    SDL_Integer  CompleteImagesDynamically;
    z_ctypes_4_VoidStar  Network;
    SDL_Integer  NewContext;
} z00228_DisplayInfoType;

/*****
* NEWTYPE DisplayInfoType  (HEADING section)
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua.sbk(2),2288(20,170),1)
******/

#define yAssF_z00228_DisplayInfoType(V,E,A)  V = E
extern void yDef_z00228_DisplayInfoType XPP(( z00228_DisplayInfoType * ));
extern SDL_Boolean yEq_z00228_DisplayInfoType XPP(( z00228_DisplayInfoType,
  z00228_DisplayInfoType ));
#define yEqF_z00228_DisplayInfoType(Expr1,Expr2)  yEq_z00228_DisplayInfoType(Expr1,Expr2)
#define yNEqF_z00228_DisplayInfoType(Expr1,Expr2)  ( ! yEq_z00228_DisplayInfoType(Expr1,Expr2) )
extern z00228_DisplayInfoType yMake_z00228_DisplayInfoType
  XPP(( z_ctypes_4_VoidStar, z_ctypes_4_VoidStar, SDL_Integer, SDL_Octet,
  SDL_Integer, SDL_Integer, z_ctypes_4_VoidStar, SDL_Integer ));
#ifndef ANY_z00228_DisplayInfoType
#define ANY_z00228_DisplayInfoType  yMake_z00228_DisplayInfoType(ANY_z_ctypes_4_VoidStar, \
  ANY_z_ctypes_4_VoidStar, ANY_SDL_Integer, ANY_SDL_Octet, ANY_SDL_Integer, \
  ANY_SDL_Integer, ANY_z_ctypes_4_VoidStar, ANY_SDL_Integer)
#endif
#define z002283_copy(P)  P

/*****
* PROCESS UA_ME
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr,4,1)
******/
YPAD_PROTOTYPE(yPAD_z0020E_UA_ME)
typedef struct {
    PROCESS_VARS
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),2) */
    z_ctypes_4_VoidStar  z0020EF_CurrentUA;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),3) */
    z_ctypes_4_VoidStar  z0020EG_ActiveAgentsList;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),4) */
    SDL_Integer  z0020EH_NbrOfActiveAgents;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),5) */
    SDL_Integer  z0020EI_TempIdx;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),6) */
    SDL_Integer  z0020EJ_TempInt;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),7) */
    z_ctypes_4_VoidStar  z0020EK_WAEManagementObject;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),8) */
    SDL_PId  z0020EL_DestinationUA;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),9) */
    SDL_PId  z0020EM_ThePid;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),10) */
    SDL_Integer  z0020EN_ViewID;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),11) */
    SDL_Integer  z0020EO_InputID;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),12) */
    z_ctypes_4_VoidStar  z0020EP_RequestURL;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),13) */
    SDL_Boolean  z0020EQ_Reload;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),14) */
    z_ctypes_4_VoidStar  z0020ER_TheArgument;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),15) */
    SDL_Integer  z0020ES_UAMode;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\ua_me.spr(InitVar),263(5,25),16) */
    SDL_Integer  z0020ET_WTAViewID;
    z_ctypes_4_VoidStar  yDcn_z_ctypes_4_VoidStar;
} yVDef_z0020E_UA_ME;

/*****
* PROCEDURE WML_GetA
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS UA_ME>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_geta.spd,1,1)
******/
extern SDL_Boolean z0020E8_WML_GetA XPP((SDL_Boolean z0020E80_fPrintError));

/*****
* PROCEDURE WML_UnRA
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS UA_ME>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_unra.spd,1,1)
******/
extern void z0020E9_WML_UnRA XPP((SDL_PId z0020E90_UnregPid));
#define z0020EA_WaitForStart  1
#define z0020EB_Idle  2
#define z0020ED_TerminatingUserAgents  3
#define z0020EE_TerminatingContentHandler  4

/*****
* PROCESS MMI_DISP
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\mmi_disp.spr,4,1)
******/
YPAD_PROTOTYPE(yPAD_z0020F_MMI_DISP)
typedef struct {
    PROCESS_VARS
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\mmi_disp.spr(VariableDecl),152(55,25),2) */
    z_ctypes_4_VoidStar  z0020F4_ActiveMMIAgents;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\mmi_disp.spr(VariableDecl),152(55,25),3) */
    SDL_Integer  z0020F5_TempInt;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\mmi_disp.spr(VariableDecl),152(55,25),4) */
    SDL_Integer  z0020F6_ViewID;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\mmi_disp.spr(VariableDecl),152(55,25),5) */
    SDL_Integer  z0020F7_WidgetID;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\mmi_disp.spr(VariableDecl),152(55,25),6) */
    SDL_PId  z0020F8_ThePid;
} yVDef_z0020F_MMI_DISP;

/*****
* PROCEDURE MMI_GetA
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS MMI_DISP>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\mmi_geta.spd,1,1)
******/
extern SDL_PId z0020F1_MMI_GetA XPP((SDL_Integer z0020F10_Dummy));
#define z0020F2_WaitForStart  1
#define z0020F3_Idle  2

/*****
* PROCESS PROV_UA
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr,4,1)
******/
YPAD_PROTOTYPE(yPAD_z0020G_PROV_UA)
typedef struct {
    PROCESS_VARS
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),3) */
    SDL_Integer  z0020G2_iBodyLen;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),4) */
    SDL_Integer  z0020G3_iTID;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),5) */
    SDL_Integer  z0020G4_iExpireDate;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),6) */
    SDL_Integer  z0020G5_iListID;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),7) */
    SDL_Integer  z0020G6_iListIDc;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),8) */
    SDL_Integer  z0020G7_iObjectID;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),9) */
    SDL_Integer  z0020G8_iTemp;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),10) */
    SDL_Integer  z0020G9_iLenSharedSecret;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),11) */
    SDL_Integer  z0020GA_SEC;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),12) */
    SDL_Boolean  z0020GB_bLastTry;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),15) */
    z_ctypes_4_VoidStar  z0020GC_vsBody;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),16) */
    z_ctypes_4_VoidStar  z0020GD_vsParsedData;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),17) */
    z_ctypes_4_VoidStar  z0020GE_MAC;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),18) */
    z_ctypes_4_VoidStar  z0020GF_vsTheList;
                /* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\PROV_UA.spr(InitVars),707(30,25),19) */
    z_ctypes_4_VoidStar  z0020GG_vsSharedSecret;
} yVDef_z0020G_PROV_UA;
#define z0020G1_StandBy  1

/*****
* SYNONYM CLR_NOTHING
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS WML_UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_ua.spr(InitVars),20903(105,115),2)
******/
extern SDL_Octet  z0020H1Z_CLR_NOTHING;

/*****
* SYNONYM CLR_RESPONSE
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS WML_UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_ua.spr(InitVars),20903(105,115),3)
******/
extern SDL_Octet  z0020H20_CLR_RESPONSE;

/*****
* SYNONYM CLR_ACTIONS
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS WML_UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_ua.spr(InitVars),20903(105,115),4)
******/
extern SDL_Octet  z0020H21_CLR_ACTIONS;

/*****
* SYNONYM CLR_REQUESTS
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS WML_UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_ua.spr(InitVars),20903(105,115),5)
******/
extern SDL_Octet  z0020H22_CLR_REQUESTS;

/*****
* SYNONYM CLR_CONTEXT
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS WML_UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_ua.spr(InitVars),20903(105,115),6)
******/
extern SDL_Octet  z0020H23_CLR_CONTEXT;

/*****
* SYNONYM WTA_ERROR_CLR
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS WML_UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_ua.spr(InitVars),20903(105,115),7)
******/
extern SDL_Octet  z0020H24_WTA_ERROR_CLR;

/*****
* SYNONYM CLR_ALL
* <<SYSTEM WAP/BLOCK WAE/SUBSTRUCTURE WAE/BLOCK UA/PROCESS WML_UA>>
* #SDTREF(SDL,D:\WIP\Maintenance\4.x\System\SystemConfigurations\base_co\sdl\wae\wml\wml_ua.spr(InitVars),20903(105,115),8)
******/
extern SDL_Octet  z0020H25_CLR_ALL;

/*****
* SYNONYM NoCache

⌨️ 快捷键说明

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