📄 mcpost.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 _MCPOST_H
#define _MCPOST_H
typedef enum
{
MMS_SIG_COH_POST = M_FSM_COH_POST * MMS_MAX_SIG_PER_FSM,
MMS_SIG_COH_POST_CANCEL,
MMS_SIG_COH_POST_MORE,
MMS_SIG_COH_POST_RSP,
MMS_SIG_COH_POST_CONNECTED,
MMS_SIG_COH_POST_DISCONNECTED
} MmsCohPostSignalId;
typedef struct
{
unsigned long length;
unsigned char *packet;
} MmsCohPostPduParam;
typedef struct
{
CMN_BOOL isResponseRequested;
MmsMessageType type;
MmsMsgId origMsg;
union
{
MmsMsgId msgId;
MmsCohPostPduParam pdu;
} data;
} MmsSigCohPostParam;
typedef struct
{
MmsResult result;
MmsResponseStatus responseStatus;
MmsEncodedText *responseText;
} MmsSigCohPostResultParam;
void cohPostCancel(MmsMsgId msgId);
void cohPostFreeResultParam(MmsSigCohPostResultParam *p);
void cohPostInit(void);
long cohPostInstance(MmsRequestId id);
void cohPostMore(long instance);
void cohPostSetHttpHeader(void);
void cohPostTerminate(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -