-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schema: support LYS_GETNEXT_WITH{CASE,CHOICE}
Add support for LYS_GETNEXT_WITH{CASE,CHOICE} for Module, Container, Choice and Case. To do so, introduce a new iter_children_options function that translates booleans to lys_getnext options. The Rpc children function is updated to use the iter_children_options mecanism. The lib.LYS_CHOICE and lib.LYS_CASE are added by to the default types in iter_children, as it does not change the behavior. Fixes: #91 Signed-off-by: Stefan Gula <[email protected]> Signed-off-by: Samuel Gauthier <[email protected]>
- Loading branch information
1 parent
a6c7164
commit 5681ef0
Showing
3 changed files
with
80 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters