exp3.h

来自「Tornado的源代码资源包」· C头文件 代码 · 共 23 行

H
23
字号
#include "msgQLib.h"

#define MAX_MSGS            (10)
#define MAX_MSG_LEN         sizeof(MESSAGE)
#define NUM_CLIENT          3

#define MID_SERVER          NUM_CLIENT
#define MID_TASK2               0
#define MID_TASK3               1
#define MID_TASK4               2

#define LEDON                   1<<1
#define LEDOFF                  1<<2
#define OUT                     1<<3
#define WARNING                 1<<4
#define SHUTDOWN                1<<12

typedef struct _MESSAGE{
	int mSendId;
	int mRecvId;
	int mData;
}   MESSAGE;

⌨️ 快捷键说明

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