📄 wap_ps_struct.h
字号:
kal_uint8 res;
kal_uint8 additionalInfo;
} wap_mmi_lauch_browser_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 cause;
} wap_mmi_browser_termination_ind_struct;
typedef struct
{
kal_wchar *midlet_path;
} wap_drm_local_install_req_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 type;
kal_uint8 url[768];
} wap_browser_startup_req_struct;
typedef struct
{
kal_uint8 len;
kal_uint8 dcs;
kal_uint8 value[40];
} wap_prof_name_struct;
typedef struct
{
kal_uint8 id;
wap_prof_name_struct name;
kal_uint8 conn_type;
} wap_prof_entry_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 result;
kal_uint8 number;
wap_prof_entry_struct *prof_list;
} wap_get_prof_list_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 id;
} wap_get_prof_content_req_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 result;
kal_uint8 id;
kal_uint8 conn_type;
kal_uint8 prx_ip[4];
kal_uint16 prx_port;
kal_uint8 username[30];
kal_uint8 password[30];
kal_uint8 net_id;
} wap_get_prof_content_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_int32 prof_id;
kal_uint8 net_id;
} wap_get_bra_prof_id_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint32 jTaskID;
} wap_jataayu_queue_recv_ind_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 user_agent_len; /*length include NULL terminator*/
kal_uint8 user_agent[256];
}wap_get_user_agent_rsp_struct;
/* WPS SAP Begin */
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_bool use_default;
kal_uint8 conn_type;
kal_uint8 net_id;
kal_uint32 timeout;
kal_bool use_proxy;
kal_uint8 prx_ip[4];
kal_uint16 prx_port;
kal_uint8 username[30];
kal_uint8 password[30];
kal_uint8 server_auth_username[WPS_MAX_AUTH_USERNAME_LENGTH];
kal_uint8 server_auth_password[WPS_MAX_AUTH_PASSWORD_LENGTH];
} wps_set_channel_req_struct;
typedef struct
{
kal_uint32 static_header_len;
kal_uint8* static_header;
} wps_set_channel_req_var_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 result;
} wps_set_channel_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
} wps_unset_channel_req_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 result;
} wps_unset_channel_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 request_id;
kal_uint8 method;
kal_uint16 option;
kal_uint8 reply_type;
kal_wchar reply_path[256];
kal_uint32 reply_segment_len;
kal_uint8 post_type;
kal_wchar post_path[256];
kal_uint32 post_total_len;
kal_bool more_post;
} wps_http_req_struct;
typedef struct
{
kal_uint32 request_url_len;
kal_uint8* request_url;
kal_uint32 request_header_len;
kal_uint8* request_header;
kal_uint32 post_segment_len;
kal_uint8* post_segment;
} wps_http_req_var_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 request_id;
kal_uint8 result;
kal_uint16 status;
kal_uint8 protocol;
kal_uint8 content_type[256];
kal_uint32 content_length;
kal_bool more;
} wps_http_rsp_struct;
typedef struct
{
kal_uint32 new_url_len;
kal_uint8* new_url;
kal_uint32 reply_header_len;
kal_uint8* reply_header;
kal_uint32 reply_segment_len;
kal_uint8* reply_segment;
} wps_http_rsp_var_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 request_id;
kal_uint8 seq_num;
kal_uint32 read_segnemtn_len;
} wps_read_content_req_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 request_id;
kal_uint8 seq_num;
kal_uint8 result;
kal_bool more;
} wps_read_content_rsp_struct;
typedef struct
{
kal_uint32 reply_segment_len;
kal_uint8* reply_segment;
} wps_read_content_rsp_var_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 request_id;
kal_uint8 seq_num;
kal_bool more;
} wps_post_content_res_struct;
typedef struct
{
kal_uint32 post_segment_len;
kal_uint8* post_segment;
} wps_post_content_res_var_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 request_id;
kal_uint8 seq_num;
kal_uint8 result;
} wps_post_content_ind_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 request_id;
kal_uint8 seq_num;
kal_uint8 status;
kal_uint32 acc_size;
} wps_dl_progress_ind_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 request_id;
} wps_cancel_req_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 request_id;
kal_uint8 result;
} wps_cancel_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 content_type[256];
kal_uint32 content_length;
kal_wchar data_path[256];
} wps_push_ind_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 request_id;
kal_uint8 operation;
} wps_clear_req_struct;
typedef struct
{
kal_uint32 cache_url_len;
kal_uint8 *cache_url;
} wps_clear_req_var_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 request_id;
kal_uint8 result;
} wps_clear_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
} wps_sec_get_session_info_req_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 result;
kal_uint16 key_exchange_alg;
kal_uint8 blk_encrypt_alg;
kal_uint8 hash_alg;
kal_uint8 sec_conn_type;
} wps_sec_get_session_info_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
} wps_sec_get_current_cert_req_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 result;
kal_uint8 issuer[256];
kal_uint16 issuer_len;
kal_uint32 not_after;
kal_uint32 not_before;
kal_uint8 serial_num[128];
kal_uint16 serial_num_len;
kal_uint8 sig_alg_name[128];
kal_uint16 sig_alg_name_len;
kal_uint8 subject[256];
kal_uint16 subject_len;
kal_uint8 type;
kal_uint8 version;
} wps_sec_get_current_cert_rsp_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 request_id;
kal_uint8 auth_type;
kal_uint8 realm_len;
kal_uint8 realm[256];
} wps_http_auth_ind_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_id;
kal_uint8 request_id;
kal_uint8 username[WPS_MAX_AUTH_USERNAME_LENGTH];
kal_uint8 password[WPS_MAX_AUTH_PASSWORD_LENGTH];
} wps_http_auth_res_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 status;
} wps_status_query_rsp_struct;
typedef struct
{
kal_uint8 issuer[256];
kal_uint16 issuer_len;
kal_uint32 not_after;
kal_uint32 not_before;
kal_uint8 serial_num[128];
kal_uint16 serial_num_len;
kal_uint8 sig_alg_name[128];
kal_uint16 sig_alg_name_len;
kal_uint8 subject[256];
kal_uint16 subject_len;
kal_uint8 type;
kal_uint8 version;
} wps_sec_cert_content_struct;
typedef struct
{
kal_uint8 *rsa_modulus;
kal_uint16 mod_len;
kal_uint8 *rsa_exponent;
kal_uint16 exp_len;
} wps_sec_rsa_public_key_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 idx;
wps_sec_cert_content_struct root_ca;
wps_sec_rsa_public_key_struct rsa_public_key;
} wps_sec_get_x509_ca_cert_ind_struct;
typedef struct
{
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 total;
} wps_sec_get_x509_ca_cert_rsp_struct;
/* WPS SAP end */
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -