Technische Universität Braunschweig
  • Studium & Lehre
    • Vor dem Studium
      • Informationen für Studieninteressierte
      • Studiengänge von A-Z
      • Bewerbung
      • Warum die TU?
    • Im Studium
      • Erstsemester-Hub
      • Semestertermine
      • Lehrveranstaltungen und Qualifikationen
      • Studienorganisation
      • Beratungsnavi
      • Finanzierung und Kosten
      • Besondere Studienbedingungen
      • Gesundheit & Wohlbefinden
      • Studentisches Engagement
    • Nach dem Studium
      • Career Service
      • Alumni*ae
      • Exmatrikulation und Vorbeglaubigung
      • Nach dem Abschluss
    • Strategien und Qualitätsmanagement
      • Qualitätsmanagement
      • Studienqualitätsmittel
      • TU Lehrpreis
    • Für Lehrende
      • Informationen für Lehrende
      • Konzepte
      • Lernmanagementsystem Stud.IP
      • Impact Learning
    • Kontakt
      • Studienservice-Center
      • Sag's uns: Ideen‑ & Beschwerdestelle Studium & Lehre
      • Zentrale Studienberatung
      • Immatrikulationsamt
      • Abteilung 16 - Studium und Lehre
      • Career Service
      • Projekthaus
  • Forschung
    • Forschungsprofil
      • Forschungsschwerpunkte
      • Exzellenzcluster der TU Braunschweig
      • Forschungsprojekte
      • Forschungszentren
      • Forschungsprofile der Professuren
    • Frühe Karrierephase
      • Förderung in den frühen Phasen der wissenschaftlichen Karriere
      • Promotion
      • Postdocs
      • Nachwuchsgruppenleitung
      • Junior Professur und Tenure-Track
      • Habilitation
      • Service-Angebote für Wissenschaftler*innen
    • Forschungsdaten & Transparenz
      • Transparenz in der Forschung
      • Forschungsdaten
      • Open Access Strategie
    • Forschungsförderung
      • Netzwerk Forschungsförderung
      • Datenbanken und Stiftungen
    • Kontakt
      • Forschungsservice
      • Graduiertenakademie
      • Organisation wissenschaftlicher Veranstaltungen
  • Transfer
    • Transferprofil
      • Transferstrategie "TIES® with Impact"
      • Technologietransfer
      • Wissenstransfer
      • Relationship Management
      • Transferprojekte
    • Innovation
      • Startups
      • Patente
      • Impact Map
    • Schule-Uni-Angebote
      • Webportal für Schule-Uni-Aktivitäten
      • Kinder-Uni Vorlesungen
      • Kinder-Uni Podcast
      • LeoLabs – Campuslabore für Schüler*innen
      • LeoVan – Mobile Experimente für Schulen
      • School Outreach Fonds
      • Hochschulinformationstag
    • Für Unternehmen
      • Deutschlandstipendium
      • Freunde & Förderer
    • Für Alumni*ae
      • Dem Netzwerk beitreten
      • Alumni*ae kennen lernen
      • Alumni*ae Talks
      • Campustouren
    • Für alle
      • Community Café
      • Community Podcast
      • Uni-Shop
  • International
    • Internationale Studierende
      • Warum Braunschweig?
      • Studium mit Abschluss
      • Austauschstudium
      • TU Braunschweig Summer School
      • Schüler*innen von deutschen Auslandsschulen
      • Geflüchtete
      • International Student Support
      • International Career Service
    • Wege ins Ausland
      • Studium im Ausland
      • Praktikum im Ausland
      • Lehren und Forschen im Ausland
      • Arbeiten im Ausland
    • Internationale Forschende
      • Welcome Support for International Researchers
      • Service für gastgebende Einrichtungen
    • Sprachen und interkulturelle Kompetenzvermittlung
      • Deutsch lernen
      • Fremdsprachen lernen
      • Interkulturelle Kompetenzvermittlung
    • Internationales Profil
      • Internationalisierung
      • Internationale Kooperationen
      • Strategische Partnerschaften
      • Internationale Netzwerke
    • International House
      • Wir über uns
      • Kontakt & Sprechstunden
      • Aktuelles und Termine
      • Newsletter, Social Media, Podcast & Videos
      • Stellenausschreibungen
  • Die TU Braunschweig
    • Unser Profil
      • Ziele & Werte
      • Ordnungen und Leitlinien
      • Hochschulentwicklung 2030
      • Ecoversity – die TU Braunschweig als Ökosystem Universität
      • Chancengleichheit
      • Diversity
      • Nachhaltigkeit
      • Fakten & Zahlen
      • Unsere Geschichte
    • Leitung & Organisation
      • Das Präsidium
      • Stabsstellen
      • Verwaltung
      • Einrichtungen
      • Organe, Statusgruppen und Kommissionen
      • Studierendenschaft
    • Karriere
      • Arbeiten an der TU
      • Stellenmarkt
      • Berufsausbildung an der TU
      • Informationen und Angebote für neue Mitarbeitende
    • Fakultäten
      • Carl-Friedrich-Gauß-Fakultät
      • Fakultät für Lebenswissenschaften
      • Fakultät Architektur, Bauingenieurwesen und Umweltwissenschaften
      • Fakultät für Maschinenbau
      • Fakultät für Elektrotechnik, Informationstechnik, Physik
      • Fakultät für Geistes- und Erziehungswissenschaften
      • Institute von A-Z
    • Die TU für alle
      • Gasthörer*innen & Senior*innenstudium
      • Universitätsbibliothek nutzen
      • Das Studierendenhaus
      • Podcasts
    • Veranstaltungen
      • Veranstaltungskalender
      • Angebote für Schüler*innen
      • Hochschulinformationstag (HIT)
  • Suche
  • Schnellzugriff
    IBR Login
    • Bibliothek
    • Mailinglisten
    • Webmail
    • Knowledgebase
    • Wiki
    • Account Management
    • Service-Status
    • Personensuche
    • Webmail
    • cloud.TU Braunschweig
    • Messenger
    • Mensa
    • TUconnect (Studierendenportal)
    • Im Notfall
    • Stud.IP
    • UB Katalog
    • Forschungsinformations-System (FIS)
    • Status GITZ-Dienste
    • Störungsmeldung GB3
    • Informationsportal (Beschäftigte)
    • Linksammlung
    • DE
    • EN
    • Instagram
    • YouTube
    • LinkedIn
    • Mastodon
    • Bluesky

    Menü
    Technische Universität BraunschweigIBR
    • Struktur
    • Fakultäten
    • Carl-Friedrich-Gauß-Fakultät
    • Institute
    • Institut für Betriebssysteme und Rechnerverbund
    • Aktuelle Projekte
    • libsmi
    • libsmi: smi_node(3)
    Logo IBR
    • libsmi
      • Home
      • Web-Werkzeuge
      • Download
      • Module
      • Bibliothek
        • Beispiel
      • Werkzeuge
        • Diagramme
      • Dokumentation
        • Manual-Seiten
        • XML-Abbildung
      • Personen
      • Mailingliste

    smi_node(3)

    SMI node information routines

    All manual pages · libsmi 0.6.0-rc1

    Name

    smiGetNode, smiGetNodeByOID, smiGetFirstNode, smiGetNextNode, smiGetParentNode, smiGetRelatedNode, smiGetFirstChildNode, smiGetNextChildNode, smiGetNodeModule, smiGetNodeType, smiGetNodeLine, smiGetFirstElement, smiGetNextElement, smiGetElementNode, smiGetFirstOption, smiGetNextOption, smiGetOptionNode, smiGetFirstRefinement, smiGetNextRefinement, smiGetRefinementModule, smiGetRefinementNode, smiGetRefinementType, smiGetRefinementWriteType - SMI node information routines

    Synopsis

    #include <smi.h>
    
    SmiNode *smiGetNode(SmiModule *smiModulePtr, char *node);
    
    SmiNode *smiGetNodeByOID(unsigned int oidlen, SmiSubid oid[]);
    
    SmiNode *smiGetFirstNode(SmiModule *smiModulePtr, SmiNodekind kinds);
    
    SmiNode *smiGetNextNode(SmiNode *smiNodePtr, SmiNodekind kinds);
    
    SmiNode *smiGetFirstAlias(SmiNode *smiNodePtr);
    
    SmiNode *smiGetNextAlias(SmiNode *smiNodePtr);
    
    SmiNode *smiGetParentNode(SmiNode *smiNodePtr);
    
    SmiNode *smiGetRelatedNode(SmiNode *smiNodePtr);
    
    SmiNode *smiGetFirstChildNode(SmiNode *smiNodePtr);
    
    SmiNode *smiGetNextChildNode(SmiNode *smiNodePtr);
    
    SmiModule *smiGetNodeModule(SmiNode *smiNodePtr);
    
    SmiType *smiGetNodeType(SmiNode *smiNodePtr);
    
    int smiGetNodeLine(SmiNode *smiNodePtr);
    
    SmiElement *smiGetFirstElement(SmiNode *smiNodePtr);
    
    SmiElement *smiGetNextElement(SmiElement *smiElementPtr);
    
    SmiNode *smiGetElementNode(SmiElement *smiElementPtr);
    
    SmiOption *smiGetFirstOption(SmiNode *smiComplianceNodePtr);
    
    SmiOption *smiGetNextOption(SmiOption *smiOptionPtr);
    
    SmiNode *smiGetOptionNode(SmiOption *smiOptionPtr);
    
    SmiRefinement *smiGetFirstRefinement(SmiNode *smiComplianceNodePtr);
    
    SmiRefinement *smiGetNextRefinement(SmiRefinement *smiRefinementPtr);
    
    SmiNode *smiGetRefinementNode(SmiRefinement *smiRefinementPtr);
    
    SmiType *smiGetRefinementType(SmiRefinement *smiRefinementPtr);
    
    SmiType *smiGetRefinementWriteType(SmiRefinement *smiRefinementPtr);
    
    typedef struct SmiNode {
        SmiIdentifier       name;
        int                 oidlen;
        SmiSubid            *oid;         /* array of length oidlen */
        SmiDecl             decl;
        SmiAccess           access;
        SmiStatus           status;
        char                *format;
        SmiValue            value;
        char                *units;
        char                *description;
        char                *reference;
        SmiIndexkind        indexkind;
        int                 implied;
        int                 create;
        SmiNodekind         nodekind;
    } SmiNode;
    
    typedef struct SmiElement {
        /* no visible attributes */
    } SmiElement;
    
    typedef struct SmiOption {
        char                *description;
    } SmiOption;
    
    typedef struct SmiRefinement {
        SmiAccess           access;
        char                *description;
    } SmiRefinement;
    

    Description

    These functions retrieve information on any SMI node definition in the object identifier tree, these are ASN.1 object identifier assignments, MODULE-IDENTITYs, OBJECT-IDENTITYs, OBJECT-TYPEs, NOTIFICATION-TYPEs, TRAP-TYPEs, OBJECT-GROUPs, NOTIFICATION-GROUPs, MODULE-COMPLIANCEs, and AGENT-CAPABILITYs in SMIv1/v2 and node, scalar, table, row, column, notification, group, and compliance statements in SMIng.

    The smiGetNode() function retrieves a struct SmiNode that represents a node of any kind. Node may be either a fully qualified descriptor, a simple node name, or a numerical OID. Nodes are also found, if node contains an instance identifier suffix. If smiModulePtr is not NULL it used to limit the search to the given module. If the node is not found, smiGetNode() returns NULL.

    The smiGetNodeByOID() function retrieves a struct SmiNode that matches the longest prefix of the node that is specified by the object identifier oid[] with the length oidlen. If no such node is not found, smiGetNodeByOID() returns NULL.

    The smiGetFirstNode() and smiGetNextNode() functions are used to iteratively retrieve struct SmiNodes in tree pre-order. smiGetFirstNode() returns the first node defined in the module specified by smiModulePtr that is of any kind specified in the kinds bitset. Subsequent calls to smiGetNextNode() return the next node of any kind specified in the kinds bitset. If there are no more node definitions in the module, NULL is returned.

    The smiGetFirstAlias() and smiGetNextAlias() functions are used to iteratively retrieve struct SmiNodes that have the same object identifier as the smiNodePtr given as an argument. There is always one alias node which is the smiNodePtr itself.

    The smiGetFirstChildNode() and smiGetNextChildNode() functions are used to iteratively retrieve struct SmiNodes that represent the immediate child nodes of the node specified by smiNodePtr passed to the smiGetFirstChildNode() call.

    The smiGetParentNode() function is used to retrieve a struct SmiNodes that represents the parent node of the node specified by smiNodePtr.

    The smiGetRelatedNode() function is used to retrieve a struct SmiNodes that is related to the node specified by smiNodePtr. Actually, this is used for SMIv2 table augmentation entries and similar SMIng constructs.

    The smiGetNodeModule() function returns the module that defines the node given by struct SmiNodePtr.

    The smiGetNodeType() function returns the type of the (scalar or columnar) node given by struct SmiNodePtr. If struct SmiNodePtr does not specify a scalar or columnar node, NULL is returned.

    The smiGetFirstElement() and smiGetNextElement() functions are used to iteratively retrieve struct SmiElements that represent elements of index clauses or notification object lists, groups of object types or notification types, and mandatory groups of module compliance statements. The node to which the list belongs has to be specified by smiNodePtr. To retrieve the node that is represented by a struct SmiElement, the smiGetElementNode() function has to be called.

    The smiGetFirstOption() and smiGetNextOption() functions are used to iteratively retrieve struct SmiOptions that represent statements on optional (object or notification) groups within the compliance statement specified by smiComplianceNodePtr. The group node which is subject of such a statement can be retrieved by the smiGetOptionNode() function.

    Similarly, the smiGetFirstRefinement() and smiGetNextRefinement() functions are used to iteratively retrieve struct SmiRefinements that represent statements on optional object refinements within the compliance statement specified by smiComplianceNodePtr. The node which is subject of such a refinement can be retrieved by the smiGetRefinementNode() function. The optional refined type and write-type of a refinement can be retrieved by the smiGetRefinementType() and smiGetRefinementWriteType() functions. If they are not present, NULL is returned.

    The smiGetNodeLine() function returns the line number within the module where the node specified by smiNodePtr is defined.

    Files

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

    See also

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

    Author

    (C) 1999-2004 Frank Strauss, TU Braunschweig, Germany <strauss@ibr.cs.tu-bs.de>


    aktualisiert am 18.11.2026, 09:37 von Frank Steinberg
    http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_node.xml · abgerufen am 18.11.2026

    Für alle

    Stellenmarkt der TU Braunschweig
    Jobbörse des Career Service
    Merchandising
    Sponsoring- & Spendenleistungen
    Vertrauenspersonen für Hinweisgeber

    Für Studierende

    Semestertermine
    Lehrveranstaltungen
    Studiengänge von A-Z
    Informationen für Erstsemester
    TUCard

    Interne Tools

    Status GITZ-Dienste
    Handbuch für TYPO3 (Intern)
    Corporate Design-Toolbox (Intern)
    Glossar (DE-EN)
    Meine Daten ändern
    Hochschulöffentliche Bekanntmachungen

    Kontakt

    Technische Universität Braunschweig
    Universitätsplatz 2
    38106 Braunschweig
    Postfach: 38092 Braunschweig
    Telefon: +49 (0) 531 391-0

    Anreise

    © Technische Universität Braunschweig
    Impressum Datenschutz Barrierefreiheit

    Zur anonymisierten Reichweitenmessung nutzt die TU Braunschweig die Software Matomo. Die Daten dienen dazu, das Webangebot zu optimieren.
    Weitere Informationen finden Sie in unserer Datenschutzerklärung.