📄 csgpapi.h
字号:
/********************************************************************
ModuleName: CSGPAPI
FileName: csgpapi.h
DESCRIPTION: The Function ProtoType Definition Of API
History:
Date Version Modifier Activies
2004/02/27 1.0 Zhao Jianlong Create
********************************************************************/
#ifndef _CSGPAPI_H_
#define _CSGPAPI_H_
/*******************
The Error Code Definition
*******************/
#define CSGP_OK 0
#define CSGP_TIMEOUT 1
#define CSGP_ERR_READCONFIGFILE 1201
#define CSGP_ERR_CONFIGPARA 1202
#define CSGP_ERR_CREATETHREAD 1203
#define CSGP_ERR_LOGIN 1211
#define CSGP_ERR_CONNECTFAIL 1212
#define CSGP_ERR_SENDSRVRESP 1213
#define CSGP_ERR_RECVBUFFERSIZE 1214
/**********************************
The Function ProtoType Definition
**********************************/
//读取配置文件,进行初始化操作
int CSGP_ReadConf(char* filename);
//接收声讯平台发起的业务请求数据
int ReadSrvReq( char* ctrlMsg, char* subCode,
char* contenetMsg, int* msgLen,
int timeOut);
//发送业务响应数据
int SendSrvResp(char* ctrlMsg, char* contenetMsg, int MsgLen);
#endif
;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -