Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
smi_event(3)	      SMI Management Information Library	  smi_event(3)

NAME
       smiGetEvent,  smiGetFirstEvent, smiGetNextEvent - SMI identity informa-
       tion routines

SYNOPSIS
       #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;

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	repre-
       sents an	event or NULL if there are no events left in the class,	or er-
       ror has occurred.

FILES
       ${prefix}/include/smi.h	  SMI library header file

SEE ALSO
       libsmi(3), smi_module(3), smi_class(3), smi.h

AUTHOR
       (C) 2007	Kaloyan	Kanev, Jacobs University, Germany <k.kanev@jacobs-uni-
       versity.de>

			       February	10, 2007		  smi_event(3)

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=smi_event&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help