📄 event_c.h
字号:
/* Beholder RMON ethernet network monitor,Copyright (C) 1993 DNPAP group *//* See file COPYING 'GNU General Public Licence' for copyright details */#ifndef _EVENT_C_H#define _EVENT_C_H#include <dnpap.h>#include <boolset.h>#include <log.h>#define EVENT_BOOLEAN_COMMUNITY 1#define EVENT_BOOLEAN_OWNER 2#define RMONEVENT_SZEDESCR 128#define RMONEVENT_SZECOMM 128typedef struct RmonEvent_{ CHAR Description[RMONEVENT_SZEDESCR]; WORD DescrLen; LONG Type; BYTE Community[RMONEVENT_SZECOMM]; WORD CommLen; ULONG LastTimeSent; BYTE Owner[SNMP_SIZE_BUFCHR]; WORD OwnerLen; WORD Status; LONG NrLogs; LONG LogPos; LONG LogIndex; BOOLEAN LogBounced; RmonLog *Logs; BooleanSet ObjectSet;} RmonEvent;BOOLEAN EventCInit(RmonEvent* event);BOOLEAN EventCStart(RmonEvent* event);BOOLEAN EventCStop(RmonEvent* event);RmonEvent* NewRmonEvent(WORD nrevents);RmonEvent* ReNewRmonEvent(RmonEvent* ptr, WORD nrevents);VOID DelRmonEvent(RmonEvent* ptr);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -