mmpdup.h

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

H
76
字号
/*
 * 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 _MMPDUP_H
#define _MMPDUP_H




typedef struct
{
    UINT8 version;           
    char *messageId;         
    MmsAddress *to;          
    MmsTimeSec date;         
    MmsStatus status;        
} MmsDeliveryInd; 




typedef struct
{             
    UINT8 version;           
    char *messageId;         
    void *responseText;      
    MmsStatus status;        
} MmsForwardConf;



MmsResult parseContentLocation(unsigned char *pdu, UINT32 len, char **uri);
MmsResult parseMmsNotification(unsigned char *headerData, UINT32 headerDataSize, 
    MmsNotification *mmsNotification, MmsVersion *version);
MmsResult parseMmsHeader(unsigned char *headerData, UINT32 headerDataSize, 
    MmsHeader *mmsHeader, MmsVersion *version);
void parseDeliveryReport(unsigned char *headerData, UINT32 headerDataSize, 
    MmsDeliveryInd *mmsDelivery);
void parseForwardConf(unsigned char *headerData, UINT32 headerDataSize, 
    MmsForwardConf *mmsForwardConf);    
MmsReadOrigInd *parseReadReport(unsigned char *pdu, UINT32 len);

#endif 

⌨️ 快捷键说明

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