ospmsginfo.h

来自「mgcp协议源代码。支持多种编码:g711」· C头文件 代码 · 共 67 行

H
67
字号
/**########################################################################*########################################################################*########################################################################*                                                               *   COPYRIGHT (c) 1998, 1999 by TransNexus, LLC                          *                                                                    *   This software contains proprietary and confidential information  *   of TransNexus, LLC. Except as may be set forth in the license    *   agreement under which this software is supplied, use, disclosure, *   or reproduction is prohibited without the prior, express, written*   consent of TransNexus, LLC.                                      *                                     *******#########################################################################*#########################################################################*#########################################################################*/#ifndef _OSPMSGINFO_H#define _OSPMSGINFO_H#include "osp.h"/*-------------------------------------------*//* message info typedef                      *//*-------------------------------------------*/ typedef struct _OSPTMSGINFO {    OSPTLISTLINK        Link;    unsigned char       *RequestMsg;    unsigned char       *ResponseMsg;    unsigned char       *ContentType;    unsigned            RequestSz;    unsigned            ResponseSz;    unsigned            ContentSz;    OSPTMUTEX           Mutex;    OSPTCONDVAR         CondVar;    int                 ErrorCode;    unsigned char       Flags;} OSPTMSGINFO;#define OSPC_MSGINFO_AUDIT_TYPE 0x01    /* bit 1 - Message type flag */#ifdef __cplusplusextern "C" {#endif    int  OSPPMsgInfoNew(OSPTMSGINFO **);    void OSPPMsgInfoDelete(OSPTMSGINFO **);    int  OSPPMsgInfoWaitForMsg(OSPTMSGINFO *);    int  OSPPMsgInfoProcessResponse(OSPTMSGINFO *);    void OSPPMsgInfoAssignRequestMsg(OSPTMSGINFO *, unsigned char *, unsigned);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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