|
Packit |
022b05 |
.TH "smi_identity" "3" "February 10, 2007" "" "SMI Management Information Library"
|
|
Packit |
022b05 |
.SH "NAME"
|
|
Packit |
022b05 |
.\" START OF MAN PAGE COPIES
|
|
Packit |
022b05 |
smiGetIdentity,
|
|
Packit |
022b05 |
smiGetFirstIdentity,
|
|
Packit |
022b05 |
smiGetNextIdentity,
|
|
Packit |
022b05 |
smiGetParentIdentity,
|
|
Packit |
022b05 |
smiGetIdentityModule
|
|
Packit |
022b05 |
.\" END OF MAN PAGE COPIES
|
|
Packit |
022b05 |
\- SMI identity
|
|
Packit |
022b05 |
information routines
|
|
Packit |
022b05 |
.SH "SYNOPSIS"
|
|
Packit |
022b05 |
.nf
|
|
Packit |
022b05 |
.B #include <smi.h>
|
|
Packit |
022b05 |
.RS
|
|
Packit |
022b05 |
.RE
|
|
Packit |
022b05 |
.sp
|
|
Packit |
022b05 |
.BI "SmiIdentity *smiGetIdentity(SmiModule *" smiModulePtr ", char *" name);
|
|
Packit |
022b05 |
.RE
|
|
Packit |
022b05 |
.sp
|
|
Packit |
022b05 |
.BI "SmiIdentity *smiGetFirstIdentity(SmiModule *" smiModulePtr );
|
|
Packit |
022b05 |
.RE
|
|
Packit |
022b05 |
.sp
|
|
Packit |
022b05 |
.BI "SmiIdentity *smiGetNextIdentity(SmiIdentity *" smiIdentityPtr );
|
|
Packit |
022b05 |
.RE
|
|
Packit |
022b05 |
.sp
|
|
Packit |
022b05 |
.BI "SmiIdentity *smiGetParentIdentity(SmiIdentity *" smiIdentityPtr );
|
|
Packit |
022b05 |
.RE
|
|
Packit |
022b05 |
.sp
|
|
Packit |
022b05 |
.BI "SmiModule *smiGetIdentityModule(SmiType *" smiIdentityPtr );
|
|
Packit |
022b05 |
.RE
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
typedef struct SmiIdentity {
|
|
Packit |
022b05 |
SmiIdentifier name;
|
|
Packit |
022b05 |
SmiDecl decl;
|
|
Packit |
022b05 |
SmiStatus status;
|
|
Packit |
022b05 |
char *description;
|
|
Packit |
022b05 |
char *reference;
|
|
Packit |
022b05 |
} SmiIdentity;
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
.fi
|
|
Packit |
022b05 |
.SH "DESCRIPTION"
|
|
Packit |
022b05 |
These functions retrieve information on a SMIng identity definition (SMIng).
|
|
Packit |
022b05 |
.PP
|
|
Packit |
022b05 |
\fBsmiGetIdentity(SmiModule *smiModulePtr,char *name)\fP returns a
|
|
Packit |
022b05 |
pointer to \fBstruct SmiIdentity\fP for the identity with the given
|
|
Packit |
022b05 |
\fIname\fP in the given module(\fIsmiModulePtr\fP), or NULL if the
|
|
Packit |
022b05 |
idenity with the given name does not exist
|
|
Packit |
022b05 |
.PP
|
|
Packit |
022b05 |
\fBsmiGetFirstIdentity(SmiModule *smiModulePtr)\fP and
|
|
Packit |
022b05 |
\fBsmiGetNextIdentity(SmiIdentity *smiIdentityPtr)\fP are used to
|
|
Packit |
022b05 |
iterate through the identities of the module given by
|
|
Packit |
022b05 |
\fIsmiModulePtr\fP. They return a pointer to \fBstruct SmiIdentity\fP
|
|
Packit |
022b05 |
hat represents an identity or NULL if there are no identities left in
|
|
Packit |
022b05 |
the module, or error has occurred.
|
|
Packit |
022b05 |
.PP
|
|
Packit |
022b05 |
\fBsmiGetIdentityModule(SmiIdentity *smiIdentityPtr)\fP returns a
|
|
Packit |
022b05 |
pointer to \fBstruct SmiModule\fP, of the module containing the given
|
|
Packit |
022b05 |
identity.
|
|
Packit |
022b05 |
.PP
|
|
Packit |
022b05 |
\fBsmiGetParentIdentity(SmiIdentity *smiIdentityPtr)\fP returns a
|
|
Packit |
022b05 |
pointer to \fBstruct SmiIdentity\fP pointing to the parent of the
|
|
Packit |
022b05 |
given \fIsmiIdentityPtr\fP, or NULL if the Identity is not derived.
|
|
Packit |
022b05 |
.SH "FILES"
|
|
Packit |
022b05 |
.nf
|
|
Packit |
022b05 |
${prefix}/include/smi.h SMI library header file
|
|
Packit |
022b05 |
.fi
|
|
Packit |
022b05 |
.SH "SEE ALSO"
|
|
Packit |
022b05 |
.BR libsmi "(3), "
|
|
Packit |
022b05 |
.BR smi_module "(3), "
|
|
Packit |
022b05 |
.BR smi.h
|
|
Packit |
022b05 |
.SH "AUTHOR"
|
|
Packit |
022b05 |
(C) 2007 Kaloyan Kanev, Jacobs University, Germany <k.kanev@jacobs-university.de>
|
|
Packit |
022b05 |
.br
|