www.LinuxHowtos.org
smi_event
Section: SMI Management Information Library (3)Updated: February 10, 2007
Index Return to Main Contents
NAME
smiGetEvent, smiGetFirstEvent, smiGetNextEvent - SMI identity information routinesSYNOPSIS
#include <smi.h>
DESCRIPTION
These functions retrieve information on a SMIng event definition (SMIng).smiGetEvent(SmiClass *smiClassPtr, char *name) returns a pointer to struct SmiEvent for the event with the given name in the given class(smiClassPtr), or NULL if the event with the given name does not exist
smiGetFirstEvent(SmiClass *smiClassPtr) and smiGetNextEvent(SmiEvent *smiEventPtr) are used to iterate through the events of the class given by smiClassPtr. They return a pointer to struct SmiEvent that represents an event or NULL if there are no events left in the class, or error has occurred.
FILES
${prefix}/include/smi.h SMI library header file
SEE ALSO
libsmi(3), smi_module(3), smi_class(3), smi.hAUTHOR
(C) 2007 Kaloyan Kanev, Jacobs University, Germany <k.kanev@jacob-university.de>