1smi_event(3)          SMI Management Information Library          smi_event(3)
2
3
4

NAME

6       smiGetEvent,  smiGetFirstEvent, smiGetNextEvent - SMI identity informa‐
7       tion routines
8

SYNOPSIS

10       #include <smi.h>
11
12       smiGetEvent(SmiClass *smiClassPtr,char*"name);
13
14       smiGetFirstEvent(SmiClass *smiClassPtr);
15
16       smiGetNextEvent(SmiEvent *smiEventPtr);
17
18       typedef struct SmiEvent {
19           SmiIdentifier       name;
20           SmiDecl             decl;
21           SmiStatus           status;
22           char                *description;
23           char                *reference;
24       } SmiEvent;
25
26

DESCRIPTION

28       These functions  retrieve  information  on  a  SMIng  event  definition
29       (SMIng).
30
31       smiGetEvent(SmiClass  *smiClassPtr,  char  *name)  returns a pointer to
32       struct SmiEvent for  the  event  with  the  given  name  in  the  given
33       class(smiClassPtr),  or  NULL if the event with the given name does not
34       exist
35
36       smiGetFirstEvent(SmiClass  *smiClassPtr)  and  smiGetNextEvent(SmiEvent
37       *smiEventPtr) are used to iterate through the events of the class given
38       by smiClassPtr. They return a pointer to struct  SmiEvent  that  repre‐
39       sents  an  event  or  NULL if there are no events left in the class, or
40       error has occurred.
41

FILES

43       /usr/include/smi.h    SMI library header file
44

SEE ALSO

46       libsmi(3), smi_module(3), smi_class(3), smi.h
47

AUTHOR

49       (C) 2007 Kaloyan Kanev, Jacobs University, Germany <k.kanev@jacobs-uni‐
50       versity.de>
51
52
53
54                               February 10, 2007                  smi_event(3)
Impressum