mcget.h

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

H
133
字号
/*
 * 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 _MCGET_H
#define _MCGET_H












typedef enum
{
    





    MMS_SIG_COH_GET_CANCEL = M_FSM_COH_GET * MMS_MAX_SIG_PER_FSM,

    





    MMS_SIG_COH_GET_MSG,

    





    MMS_SIG_COH_GET_RSP,

    







    

    


    MMS_SIG_COH_GET_CONNECTED,

    


    MMS_SIG_COH_GET_DISCONNECTED
} MmsCohGetSignalId;



typedef struct
{
    MmsMsgId        msgId;  
    char            *uri;   
    char            *transactionId; 
    unsigned long   size;   
} MmsSigCohGetParam;



typedef struct
{
    MmsMsgId        msgId;  
    MmsResult       result; 
    unsigned long   size;   
    MmsRetrieveStatus retrieveStatus;   
    MmsEncodedText *retrieveText;       
    char            *retrieveTransId;   

} MmsSigCohGetResultParam;










void cohGetCancel(MmsMsgId msgId);
void cohGetFreeResultParam(MmsSigCohGetResultParam *p);
void cohGetInit(void);
long cohGetInstance(MmsRequestId id);
void cohGetSetHttpHeader(void);
void cohGetTerminate(void);

#endif 

⌨️ 快捷键说明

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