mreceive.h

来自「彩信MMS的全部代码」· C头文件 代码 · 共 144 行

H
144
字号
/*
 * Copyright (C) Obigo AB, 2002-2005.
 * All rights reserved.
 *
 * This software is covered by the license agreement between
 * the end user and Obigo AB, and may be 
 * used and copied only in accordance with the terms of the 
 * said agreement.
 *
 * Obigo AB assumes no 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 software.
 *
 */
















#ifndef _MRECEIVE_H
#define _MRECEIVE_H












typedef enum
{
    





    MMS_SIG_MSR_RECEIVE_CANCEL = M_FSM_MSR_RECEIVE * MMS_MAX_SIG_PER_FSM,

    





    MMS_SIG_MSR_RECEIVE_DELAYED,

    





    MMS_SIG_MSR_RECEIVE_IMMEDIATE,

    







    

    


    MMS_SIG_MSR_RECEIVE_GET_RSP,

#ifdef MMS_EXTERNAL_DRM_ID_GENERATION
    






    MMS_SIG_MSR_RECEIVE_GET_RSP_CONT,
#endif 
    
    




     
    MMS_SIG_MSR_RECEIVE_GET_HEADER_RSP,

    


    MMS_SIG_MSR_RCV_ACK_RSP
} MmsMsrReceiveSignalId;



typedef struct
{
    UINT32  notifId;        
    char    category;       
    unsigned char *pdu;     
    UINT32  len;            

    
    MmsResult result;       
    MmsRetrieveStatus retrieveStatus;
    UINT32  msgId;          
    CMN_BOOL isSmsBearer;   
    MmsTimeSec time;        
    UINT32 seqId;           
} MmsSigMsrReceiveParam;










void msrReceiveInit(void);
void msrReceiveTerminate(void);
void msrReceiveFreeParam(MmsSigMsrReceiveParam *p);

#endif 

⌨️ 快捷键说明

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