📄 adm_mon.h
字号:
#ifndef _SYSADM_H#define _SYSADM_H#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <math.h>#include <time.h>#include <signal.h>#include <sys/types.h>#include <sys/ipc.h>#include <sys/msg.h>#define OPERATOR 1#define SYSADM 3#define BOTH 0#define NOW 0#define HISTORY 1#define BEG_OF_FILE 0#define MID_OF_FILE 1#define END_OF_FILE 2#define PAGE_LINES 50#define CANCEL_TRANS 100/*通信监控*/#define MAX_SIZE 512#define QUEUE_MONITOR 0x1015#define MONI_SEND 1#define MONI_RECV 2/* 消息队列结构 */typedef struct { long Mtype; long Stype; unsigned char MsgData[MAX_SIZE];} MSG_STRUCT;long GetSysDate();long GetSysComDate();#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -