cli show options. doc and testing
This commit is contained in:
parent
6f2c4a076d
commit
09d33acd45
8 changed files with 64 additions and 6 deletions
|
|
@ -293,8 +293,8 @@ static int
|
|||
msg_dump(struct clicon_msg *msg)
|
||||
{
|
||||
int i;
|
||||
char buf[9*8];
|
||||
char buf2[9*8];
|
||||
char buf[9*8+1];
|
||||
char buf2[9*8+1];
|
||||
|
||||
memset(buf2, 0, sizeof(buf2));
|
||||
snprintf(buf2, sizeof(buf2), "%s:", __FUNCTION__);
|
||||
|
|
|
|||
|
|
@ -881,7 +881,7 @@ xml_child_order(cxobj *xp,
|
|||
* Further, never manipulate the child-list during operation or using the
|
||||
* same object recursively, the function uses an internal field to remember the
|
||||
* index used. It works as long as the same object is not iterated concurrently.
|
||||
* If you need to delete a node you can do somethjing like:
|
||||
* If you need to delete a node you can do somethhing like:
|
||||
* @code
|
||||
* cxobj *xprev = NULL;
|
||||
* cxobj *x = NULL;
|
||||
|
|
@ -892,6 +892,7 @@ xml_child_order(cxobj *xp,
|
|||
* x = xprev;
|
||||
* continue;
|
||||
* }
|
||||
* xprev = x;
|
||||
* }
|
||||
* @endcode
|
||||
#ifdef XML_EXPLICIT_INDEX
|
||||
|
|
|
|||
|
|
@ -310,6 +310,7 @@ xml_nsctx_node(cxobj *xn,
|
|||
* xml_nsctx_free(nsc)
|
||||
* @endcode
|
||||
* @see RFC7950 Sections 6.4.1 (and 9.9.2?)
|
||||
* @note Assume yn is in a yang structure (eg has parents and belongs to a (sub)module)
|
||||
*/
|
||||
int
|
||||
xml_nsctx_yang(yang_stmt *yn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue