show_configuration and cli_copy_object added as generic cli commands
This commit is contained in:
parent
c59869a44e
commit
1e92304a52
7 changed files with 297 additions and 61 deletions
|
|
@ -50,9 +50,7 @@
|
|||
* Types
|
||||
*/
|
||||
|
||||
/*
|
||||
* enum gensyntx
|
||||
* Controls how keywords a generated in CLI syntax / prints from obhect model
|
||||
/*! Controls how keywords a generated in CLI syntax / prints from object model
|
||||
* Example syntax a.b[] $!x $y:
|
||||
* NONE: a b <x> <y>;
|
||||
* VARS: a b <x> y <y>;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ enum {
|
|||
* Prototypes
|
||||
*/
|
||||
int xml2txt(FILE *f, cxobj *x, int level);
|
||||
int xml2cli(FILE *f, cxobj *x, char *prepend, enum genmodel_type gt, const char *label);
|
||||
int xml2cli(FILE *f, cxobj *x, char *prepend, enum genmodel_type gt);
|
||||
int xml_yang_validate(cxobj *xt, yang_stmt *ys) ;
|
||||
int xml2cvec(cxobj *xt, yang_stmt *ys, cvec **cvv0);
|
||||
int cvec2xml_1(cvec *cvv, char *toptag, cxobj *xp, cxobj **xt0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue