Add new dms protocal
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef _DMS_MQ_H_
|
||||
#define _DMS_MQ_H_
|
||||
|
||||
#define MAX_MQBLK_NO 5
|
||||
|
||||
enum{
|
||||
MQERR_DISCONNECT = -1,
|
||||
MQERR_FULL = -2,
|
||||
@@ -12,8 +14,8 @@ enum{
|
||||
MQERR_THDERR = -8,
|
||||
};
|
||||
|
||||
//初始化DMS的MQ序列
|
||||
int dmsmq_init( void );
|
||||
//初始化DMS的MQ序列 with_debug = 0, 不启用MQ的Debug日志, 1 启用MQ的debug日志
|
||||
int dmsmq_init( int with_debug );
|
||||
|
||||
//接收DMS的MQ序列,阻塞方式。
|
||||
// srvid 服务ID
|
||||
|
||||
Reference in New Issue
Block a user