JSRProts.h
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:5k
- /*******************************************************************************
- * Copyright Statement:
- * --------------------
- * This software is protected by Copyright and the information contained
- * herein is confidential. The software may not be copied and the information
- * contained herein may not be used or disclosed except with the written
- * permission of MediaTek Inc. (C) 2005
- *
- *******************************************************************************/
- /*******************************************************************************
- * Filename:
- * ---------
- * JsrProts.h
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- * This file intends for handling the JSR messages.
- *
- * Author:
- * -------
- * -------
- *
- *==============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *==============================================================================
- *******************************************************************************/
- #ifndef _JSR_PROTS_H
- #define _JSR_PROTS_H
- /* if some header should be include before this one */
- /*****************************************************************************
- * Define
- *****************************************************************************/
- /*****************************************************************************
- * Extern Global Function
- *****************************************************************************/
- #include "wap_ps_struct.h"
- /* JSR module prototypes */
- extern void JsrCleanContext(void);
- extern void mmi_jsr_init_appid_msgid_list(void);
- extern void mmi_jsr_read_folder_status_req_hldr(void *msg);
- extern void mmi_jsr_read_folder_status_output_req_hldr(JsrResult result, JsrFolderInfo *folderInfo);
- extern void mmi_jsr_upload_msg_req_hldr(void *msg);
- extern void mmi_jsr_upload_msg_output_req_hldr(JsrResult result, U32 msgId);
- extern void mmi_jsr_delete_msg_req_hldr(void *msg);
- extern void mmi_jsr_delete_msg_output_req_hldr(JsrResult result);
- extern void mmi_jsr_send_appmms_req_hldr(void *msg, int mod_src, void *peerBuf);
- extern void mmi_jsr_send_post_appmms_msg_part_ind(JsrResult result);
- extern void mmi_jsr_send_post_appmms_msg_part_rsp(void *msg);
- extern void mmi_jsr_send_appmms_rsp(JsrResult result);
- extern MMI_BOOL mmi_jsr_check_recv_mms_for_java(S8 *contentType);
- extern MMI_BOOL mmi_jsr_add_recv_java_mms_content(U32 msgId, S8 *contentType);
- extern void mmi_jsr_send_appmms_new_mms_ind(char *appId, U32 length);
- extern MMI_BOOL mmi_jsr_insert_msgId_to_appId_list(U32 msgId, char *appId, BOOL is_checked);
- extern U32 mmi_jsr_generate_recv_msg_rsp(
- S8 *appId,
- wap_mmc_recv_appmms_rsp_struct *resp,
- JsrResult *result,
- S8 **buffer,
- U16 *buffer_size);
- extern void mmi_jsr_receive_appmms_req_hldr(void *msg);
- extern void mmi_jsr_receive_appmms_post_req_hldr(void *resp, S8 *buffer, U16 buffer_size);
- extern void mmi_jsr_receive_appmms_rsp(wap_mmc_recv_appmms_rsp_struct *response_struct, S8 *buffer, U16 buffer_size);
- extern void mmi_jsr_read_appmms_msg_part_req(void);
- extern void mmi_jsr_read_appmms_msg_part_rsp(wap_mmc_read_appmms_msg_part_rsp_struct *response);
- extern void mmi_jsr_cfg_appmms_appid_req(void *msg);
- extern void mmi_jsr_cfg_appmms_appid_rsp(JsrResult result);
- extern JsrResult mmi_jsr_cfg_app_id(U8 *app_id, U8 app_id_length, U8 is_remove);
- extern void mmi_jsr_check_appmms_coming_req(void *msg);
- extern void mmi_jsr_check_appmms_coming_rsp(MMI_BOOL result);
- extern MMI_BOOL mmi_jsr_check_appid_msgs(U8 *app_id, U8 app_id_length, U8 is_new);
- extern void mmi_jsr_abort_appmms_req(void *msg);
- extern void mmi_jsr_abort_appmms_rsp(JsrResult result);
- extern void mmi_jsr_get_mms_profile_req(void *msg);
- extern void mmi_jsr_get_mms_profile_rsp(U8 result, U8 *value, U8 value_length);
- extern void mmi_jsr_get_mms_user_agent_rsp(void);
- /* void mmi_jsr_delete_msgId_from_appId_list(U32 msgId, char* appId); */
- extern MMI_BOOL mmi_jsr_is_java_msg(U32 msgId);
- extern void mmi_jsr_testing(void); /* to be removed */
- #endif /* _JSR_PROTS_H */