mmpduc.h

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

H
105
字号
/*
 * 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 _MMPDUC_H
#define _MMPDUC_H















typedef struct
{
    char *transactionId; 
    MmsStatus status;    
    MmsDeliveryReport allowed; 
} MmsNotifyRespInd; 
 


typedef struct
{
    char *transactionId;        
    MmsDeliveryReport allowed;  
} MmsAcknowledgeInd;



typedef struct
{
    
    char *transactionId;        
    
    
 
    MmsAddressList *to;
    
     
    MmsAddress from;   
    
    

    MmsTimeSec date;                    

     
    MmsReadStatus readStatus;

} MmsReadReportInd;


unsigned char *createWspSendHeader( const MmsHeader *header, 
    const UINT32 numOfBodyParts, UINT32 *length, MmsResult *result, MmsVersion version);
unsigned char *createWspNotifyRespIndMsg(const MmsNotifyRespInd *headerValues,
    UINT32 *length, MmsVersion version);
unsigned char *createWspAcknowledgeIndMsg(const MmsAcknowledgeInd *headerValues, 
    UINT32 *length, MmsVersion version);
unsigned char *createWspBodyPartHead( const MmsSetBodyParams *dataValues, 
    UINT32 *length, UINT32 numOfEntries, MmsResult *result);
unsigned char *createWspForward( const MmsForward *header, char *contentLocation, 
    UINT32 *length, MmsResult *result, unsigned char version);
unsigned char *createWspReadReport(const MmsHeader *header, UINT32 *length, 
    MmsResult *result, MmsReadStatus readStatus, MmsVersion version);



#endif 

⌨️ 快捷键说明

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