mnotify.h

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

H
125
字号
/*
 * 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 _MNOTIFY_H
#define _MNOTIFY_H





typedef enum
{
    





    MMS_SIG_MSR_NOTIFICATION = M_FSM_MSR_NOTIFY * MMS_MAX_SIG_PER_FSM,

    





    MMS_SIG_MSR_CHECK_IMMEDIATE_RETRIEVALS,

    





    MMS_SIG_MSR_REMOVE_DELAYED_NOTIFICATION,

    





    MMS_SIG_MSR_SEND_NOTIFY_RESP,
    
    


     MMS_SIG_MSR_IMMEDIATE_RETRIEVAL_FINISHED
} MmsNotifySignalId;


typedef struct
{
    MmsTimeSec  time;           
    CMN_BOOL    isSmsBearer;    
    UINT8       type;           
    UINT32      size;           
    void        *pdu;           
} MmsMsrNotificationParam;



typedef struct
{
    CMN_BOOL isSmsBearer;
    MmsStatus msgStatus;
    unsigned int deliveryReportFlag;
    char *transactionId;
    MmsVersion version;
} MmsNotifIndInfo;


typedef enum
{
    NOTIF_UNSTORED, 
        NOTIF_DELAYED,  
        NOTIF_IMMEDIATE 
} MmsMsrNotifStorageType;










void msrNotifyDeleteQueue(void);
void msrNotifyDeleteTable(void);
void msrNotifyInit(void);
void msrNotifyImmediateCheck(void);
void msrNotifyTerminate(MmsShutdown condition);
void msrNotifyRemoveId(MmsMsrNotifStorageType type, UINT32 id);

#endif 

⌨️ 快捷键说明

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