Replaced config cache with a single state flag

This commit is contained in:
Olof hagsand 2024-01-25 22:50:54 +01:00
parent a97a06d15a
commit dff3b25c34
2 changed files with 8 additions and 14 deletions

View file

@ -61,9 +61,7 @@
#define YANG_FLAG_INDEX 0x08 /* This yang node under list is (extra) index. --> you can access
* list elements using this index with binary search */
#endif
#define YANG_FLAG_CONFIG_CACHE 0x10 /* Ancestor config cache is active */
#define YANG_FLAG_CONFIG_VALUE 0x20 /* Ancestor config cache value */
#define YANG_FLAG_STATE_LOCAL 0x10 /* Local inverted value of Y_CONFIG child */
#define YANG_FLAG_DISABLED 0x40 /* Disabled due to if-feature evaluate to false
* Transformed to ANYDATA but some code may need to check
* why it is an ANYDATA