event_c.h
来自「嵌入式RMON,RMON为Remote monitor的缩写,基于SNMP为网络」· C头文件 代码 · 共 54 行
H
54 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?