yang_node(3)

smi_node(3) SMI Management Information Library smi_node(3)

NAME

yangGetModule, yangGetFirstModule, yangGetNextModule, yangGetFirstChildNode, yangGetNextChildNode - 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>

June 25, 2010 JACOBS