SMI event information routines
All manual pages · libsmi 0.6.0-rc1
smiGetEvent, smiGetFirstEvent, smiGetNextEvent - SMI event information routines
#include <smi.h>
smiGetEvent(SmiClass *smiClassPtr,char*"name);
smiGetFirstEvent(SmiClass *smiClassPtr);
smiGetNextEvent(SmiEvent *smiEventPtr);
typedef struct SmiEvent {
SmiIdentifier name;
SmiDecl decl;
SmiStatus status;
char *description;
char *reference;
} SmiEvent;
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.
/usr/include/smi.h SMI library header file
libsmi(3), smi_module(3), smi_class(3), smi.h
(C) 2007 Kaloyan Kanev, Jacobs University, Germany <k.kanev@jacobs-university.de>
Vacancies of TU Braunschweig
Career Service' Job Exchange
Merchandising
Term Dates
Courses
Degree Programmes
Information for Freshman
TUCard
Technische Universität Braunschweig
Universitätsplatz 2
38106 Braunschweig
P. O. Box: 38092 Braunschweig
GERMANY
Phone: +49 (0) 531 391-0