export populate
This commit is contained in:
parent
bb6d043d6c
commit
de2d5be6dd
3 changed files with 3 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ enum clicon_err{
|
||||||
OE_DB = 1, /* database registries */
|
OE_DB = 1, /* database registries */
|
||||||
OE_DEMON, /* demons: pidfiles, etc */
|
OE_DEMON, /* demons: pidfiles, etc */
|
||||||
OE_EVENTS, /* events, filedescriptors, timeouts */
|
OE_EVENTS, /* events, filedescriptors, timeouts */
|
||||||
OE_CFG, /* config commit / quagga */
|
OE_CFG, /* configuration */
|
||||||
OE_PROTO, /* config/client communication */
|
OE_PROTO, /* config/client communication */
|
||||||
OE_REGEX, /* Regexp error */
|
OE_REGEX, /* Regexp error */
|
||||||
OE_UNIX, /* unix/linux syscall error */
|
OE_UNIX, /* unix/linux syscall error */
|
||||||
|
|
|
||||||
|
|
@ -258,6 +258,7 @@ char *yang_find_myprefix(yang_stmt *ys);
|
||||||
int yang_order(yang_stmt *y);
|
int yang_order(yang_stmt *y);
|
||||||
int yang_print(FILE *f, yang_node *yn);
|
int yang_print(FILE *f, yang_node *yn);
|
||||||
int yang_print_cbuf(cbuf *cb, yang_node *yn, int marginal);
|
int yang_print_cbuf(cbuf *cb, yang_node *yn, int marginal);
|
||||||
|
int ys_populate(yang_stmt *ys, void *arg);
|
||||||
yang_stmt *yang_parse_file(int fd, const char *name, yang_spec *ysp);
|
yang_stmt *yang_parse_file(int fd, const char *name, yang_spec *ysp);
|
||||||
int yang_parse(clicon_handle h, const char *yang_dir,
|
int yang_parse(clicon_handle h, const char *yang_dir,
|
||||||
const char *module, const char *revision, yang_spec *ysp);
|
const char *module, const char *revision, yang_spec *ysp);
|
||||||
|
|
|
||||||
|
|
@ -1331,7 +1331,7 @@ ys_populate_identity(yang_stmt *ys,
|
||||||
* See ys_parse_sub for first pass and what can be assumed
|
* See ys_parse_sub for first pass and what can be assumed
|
||||||
* After this pass, cv:s are set for LEAFs and LEAF-LISTs
|
* After this pass, cv:s are set for LEAFs and LEAF-LISTs
|
||||||
*/
|
*/
|
||||||
static int
|
int
|
||||||
ys_populate(yang_stmt *ys,
|
ys_populate(yang_stmt *ys,
|
||||||
void *arg)
|
void *arg)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue