deventc.h

来自「嵌入式RMON,RMON为Remote monitor的缩写,基于SNMP为网络」· C头文件 代码 · 共 53 行

H
53
字号
/* Beholder RMON ethernet network monitor,Copyright (C) 1993 DNPAP group *//* See file COPYING 'GNU General Public Licence' for copyright details   */#ifndef _DEVENT_C_H#define _DEVENT_C_H#include <dnpap.h>#include <boolset.h>#include <dlog.h>#define EVENT_BOOLEAN_COMMUNITY		1#define EVENT_BOOLEAN_OWNER			2#define RMONEVENT_SZEDESCR  128#define RMONEVENT_SZECOMM   128typedef struct DnpapRmonEvent_{     	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;	DnpapRmonLog *Logs;	    BooleanSet ObjectSet;} DnpapRmonEvent;BOOLEAN     DnpapEventCInit(DnpapRmonEvent* event);BOOLEAN     DnpapEventCStart(DnpapRmonEvent* event);BOOLEAN     DnpapEventCStop(DnpapRmonEvent* event);DnpapRmonEvent*  NewDnpapRmonEvent(WORD nrevents);DnpapRmonEvent*  ReNewDnpapRmonEvent(DnpapRmonEvent* ptr, WORD nrevents);VOID             DelDnpapRmonEvent(DnpapRmonEvent* ptr);#endif

⌨️ 快捷键说明

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