event_u.c

来自「嵌入式RMON,RMON为Remote monitor的缩写,基于SNMP为网络」· C语言 代码 · 共 54 行

C
54
字号
/* Beholder RMON ethernet network monitor,Copyright (C) 1993 DNPAP group *//* See file COPYING 'GNU General Public Licence' for copyright details   *//************************************************************************** MODULE INFORMATION*************************     FILE     NAME:       event_u.c**     SYSTEM   NAME:       event**     ORIGINAL AUTHOR(S):  Richard Kooijman**     VERSION  NUMBER:     0.99**     CREATION DATE:       1992/9/28**** DESCRIPTION: user function hook for events**              *************************************************************************** CHANGES INFORMATION ***************************** REVISION:    $Revision$** WORKFILE:    $Workfile$** LOGINFO:     $Log$*************************************************************************/#if ! defined(PRD)static char _pvcs_hdr[] ="$Header$";#endif#include <dnpap.h>#include <channel.h>#include "event_u.h"static CHAR MODULE[] = "EventU";/******************************************************************* NAME:        EventGenerated** SYNOPSIS:    VOID EventGenerated(LONG eventindex)** PARAMETERS:  eventindex: index of the event that was generated** DESCRIPTION: called whenever an existing event is generated.**              Interested applications can put their functions in**              here so that they will be called too from then on.** RETURNS:     nothing** REMARKS:     see also GenerateEvent() in event_m*******************************************************************/VOID EventGenerated(LONG eventindex){	/*  put here any functions that need to be called when an event is generated  */	ChannelEventGenerated(eventindex);}

⌨️ 快捷键说明

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