📄 cmpppack.h
字号:
/*************************************************************************** Copyright : 2002, ASPIRE TECHNOLOGIES (SHENZHEN) LTD. Program ID : cmpppack.h Description : cmpppack 全局函数的声明头文件 Version : cmppapi 1.5 Modification Log: DATE AUTHOR DESCRIPTION -------------------------------------------------------------------------- 2002-11-25 chenggang Create***************************************************************************/#include "cmppapi.h"/************************************************************************ Function ID: nCmppDecode Description: CMPP协议的解析函数 Input Param: unsigned char* DecodeStr int nLen Output Param: recCmppPck* prCmppPck Return: int 0 success -1 input para error -2 input nLen not equal DeCodestr len -3 CmdId error -4 verify content of struct recCmppPck fail *************************************************************************/int nCmppDecode(unsigned char* DecodeStr, int nLen, recCmppPck* prCmppPck);/************************************************************************ Function ID: nDeliverReceiptDecode Description: CMPP协议的DeliverReceipt content 解析函数 Input Param: char* psMsgContent Output Param: recCmppReceiptBody* prCmppReceipt Return: int 0 success -1 input para error -2 input Len error*************************************************************************/int nDeliverReceiptDecode(unsigned char* psMsgContent, recCmppReceiptBody* prCmppReceipt, int nLen);/************************************************************************ Function ID: nCmppDecode Description: CMPP协议的组包函数 Input Param: recCmppPck* prCmppPck Output Param: unsigned char* DecodeStr int* pnLen Return: int 0 success -1 input para error -2 input nLen not equal DeCodestr len -3 CmdId error -4 verify content of struct recCmppPck fail *************************************************************************/int nCmppEncode(recCmppPck* prCmppPck, unsigned char* DecodeStr, int* pnLen);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -