yang_node - Man Page

YANG node information routines

Synopsis

#include <yang.h>

YangNode *yangGetFirstChildNode(YangNode *yangNodePtr);

YangNode *yangGetNextChildNode(YangNode *yangNodePtr);

typedef struct YangNode {
   YangString          value;
   YangString          extra;
   YangDecl        nodekind;
   YangStatus          status;
   YangConfig          config;
   SmiAccess           access;
   YangString          description;
   YangString          reference; } YangNode;

Description

These functions retrieve information on any YANG node definition in the YAND node tree.

The yangGetFirstChildNode() and yangGetNextChildNode() functions are used to iteratively retrieve struct YangNodes that represent the immediate child nodes of the node specified by yangNodePtr passed to the yangGetFirstChildNode() or yangGetNextChildNode() call.

Files

/usr/include/yang.h    YANG library header file

See Also

libsmi(3), smi_config(3), yang.h

Author

(C) 2010 Juergen Schoenwaelder, Jacobs University Bremen, Germany <j.schoenwaelder@jacobs-university.de>

Info

June 25, 2010 JACOBS SMI Management Information Library