Moved with-defaults processing from get(-config) to xmldb_get when reading db
With-defaults: fixed cornercase in xpath used in list pagination C-API: Added `with-defaults` parameter (default 0) to `xmldb_get0()`
This commit is contained in:
parent
e885d63f68
commit
0d41d49fa9
19 changed files with 420 additions and 196 deletions
|
|
@ -1602,12 +1602,20 @@ yang_order(yang_stmt *y)
|
|||
return retval;
|
||||
}
|
||||
|
||||
/*! Map from YANG keywords ints to strings
|
||||
* @param[in] int Integer representation of YANG keywords
|
||||
* @retval str String representation of YANG keywords
|
||||
*/
|
||||
char *
|
||||
yang_key2str(int keyword)
|
||||
{
|
||||
return (char*)clicon_int2str(ykmap, keyword);
|
||||
}
|
||||
|
||||
/*! Map from yang keyword strings to ints
|
||||
* @param[in] str String representation of YANG keywords
|
||||
* @retval int Integer representation of YANG keywords
|
||||
*/
|
||||
int
|
||||
yang_str2key(char *str)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue