mcwap.h

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

H
123
字号
/*
 * 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 _MCWAP_H
#define _MCWAP_H


#define MMS_USER_AGENT          "User-Agent: "
#define MMS_NEWLINE             "\n"




typedef enum
{
    





    MMS_SIG_COH_WAP_START = M_FSM_COH_WAP * MMS_MAX_SIG_PER_FSM,

    





    MMS_SIG_COH_WAP_START_RESPONSE,

    





    MMS_SIG_COH_WAP_STOP,

    





    MMS_SIG_COH_WAP_STOP_RESPONSE

    







    

    







    
} MmsCohWapSignalId;










void mmsWapCancelHttpOperation(MmsRequestId requestId);
void mmsWapConnectionCheck(void);
MmsRequestId mmsWapGetRequestId(void);
UINT32 mmsWapGetUniqueId(void);
void mmsWapFreeContentParams(MmsHttpContent *cont);
void mmsWapFreeRequestId(MmsRequestId id);
void cohWapInit(void);
MmsRequestId mmsWapRenewRequestId(MmsRequestId theOld);
void cohWapTerminate(void);
MmsResult translateResponseStatus(MmsResponseStatus status);
MmsResult translateRetrieveStatus(MmsRetrieveStatus status);

#ifdef MMS_LOG_PROTOCOL
void mmsWapLog(CMN_BOOL isIncoming, int len, char *pdu);
#endif 

#endif 

⌨️ 快捷键说明

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