⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mfieldc.h

📁 彩信MMS的全部代码
💻 H
字号:
/*
 * 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 _MFIELDC_H
#define _MFIELDC_H






INT32 calculateEntryHeadersSize( MmsEntryHeader *entryHeader);
void calculateSize( const MmsContentType *contentInfo, UINT32 *size);
unsigned char *createContentType(UINT32 *size, 
    const MmsContentType *contentInfo);
unsigned char *createMsgClass(unsigned long *size, MmsMessageClass msgClass);
CMN_BOOL createFromField(const MmsAddress *fromAddr, unsigned char **buf,
    unsigned long *bufLength);
CMN_BOOL createDestinationField( MmsAddressList *addrList, unsigned char *pduHeader, 
    unsigned long bufSize, unsigned long *actLength, MmsHeaderTag headerTag);
unsigned char *createTimeField(unsigned long *size, const MmsTime *theTime);
CMN_BOOL createEncodedStringValue(const char *text, CmnCharset charset,
    unsigned long *size, unsigned char **retPtr);
unsigned char *createEntryHeaders( MmsEntryHeader *entryHeader, 
    unsigned char *buffer, int bufSize);
unsigned long getSizeOfAddress( MmsAddressList *addrList);
unsigned long getSizeOfEncodedText(MmsEncodedText eText);
char *generateMmsTransactionId(unsigned long *length);

#endif 

⌨️ 快捷键说明

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