Added reference count for shared yang-specs (schema mounts)
This commit is contained in:
parent
9bd1b8994c
commit
574106125f
4 changed files with 61 additions and 2 deletions
|
|
@ -101,6 +101,7 @@ struct yang_stmt{
|
|||
Y_EXTENSION: vector of instantiated UNKNOWNSo
|
||||
Y_UNKNOWN: app-dep: yang-mount-points
|
||||
*/
|
||||
int ys_ref; /* Reference count for free, only YS_SPEC */
|
||||
yang_type_cache *ys_typecache; /* If ys_keyword==Y_TYPE, cache all typedef data except unions */
|
||||
char *ys_when_xpath; /* Special conditional for a "when"-associated augment/uses xpath */
|
||||
cvec *ys_when_nsc; /* Special conditional for a "when"-associated augment/uses namespace ctx */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue