from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209580

userrating:


May 25th. 2007:
Words

486

Views

258588

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149878

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





smi_macro

Section: SMI Management Information Library (3)
Updated: August 16, 2001
Index Return to Main Contents
 

NAME

smiGetMacro, smiGetFirstMacro, smiGetNextMacro, smiGetMacroModule - SMI macro and extension information routines  

SYNOPSIS

#include <smi.h>
SmiMacro *smiGetMacro(SmiModule *smiModulePtr, char *macro); SmiMacro *smiGetFirstMacro(SmiModule *smiModulePtr); SmiMacro *smiGetNextMacro(SmiMacro *smiMacroPtr); SmiModule *smiGetMacroModule(SmiMacro *smiMacroPtr); typedef struct SmiMacro { SmiIdentifier name; SmiDecl decl; SmiStatus status; char *description; char *reference; } SmiMacro;
 

DESCRIPTION

These functions retrieve information on an extension statement definition (SMIng) or a macro (SMIv1/v2).

The smiGetMacro() function retrieves a struct SmiMacro that represents an extension or macro definition. Macro may be either a fully qualified descriptor or a simple macro or extension name. If smiModulePtr is not NULL it used to limit the search to the given module. If the macro is not found, smiGetMacro() returns NULL.

The smiGetFirstMacro() and smiGetNextMacro() functions are used to iteratively retrieve struct SmiMacros. smiGetFirstMacro() returns the first one defined in the module specified by smiModulePtr. Subsequent calls to smiGetNextMacro() return the following ones. If there are no more extension or macro definitions in the module, NULL is returned.

The smiGetMacroModule() function returns the module that defines the macro or extension given by struct SmiMacroPtr.  

FILES

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

SEE ALSO

libsmi(3), smi_module(3), smi.h  

AUTHOR

(C) 199-2001 Frank Strauss, TU Braunschweig, Germany <strauss@ibr.cs.t-bs.de>


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
AUTHOR





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 19.7 ms