export populate

This commit is contained in:
Olof Hagsand 2018-08-27 19:07:52 +00:00
parent bb6d043d6c
commit de2d5be6dd
3 changed files with 3 additions and 2 deletions

View file

@ -55,7 +55,7 @@ enum clicon_err{
OE_DB = 1, /* database registries */
OE_DEMON, /* demons: pidfiles, etc */
OE_EVENTS, /* events, filedescriptors, timeouts */
OE_CFG, /* config commit / quagga */
OE_CFG, /* configuration */
OE_PROTO, /* config/client communication */
OE_REGEX, /* Regexp error */
OE_UNIX, /* unix/linux syscall error */

View file

@ -258,6 +258,7 @@ char *yang_find_myprefix(yang_stmt *ys);
int yang_order(yang_stmt *y);
int yang_print(FILE *f, yang_node *yn);
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);
int yang_parse(clicon_handle h, const char *yang_dir,
const char *module, const char *revision, yang_spec *ysp);

View file

@ -1331,7 +1331,7 @@ ys_populate_identity(yang_stmt *ys,
* See ys_parse_sub for first pass and what can be assumed
* After this pass, cv:s are set for LEAFs and LEAF-LISTs
*/
static int
int
ys_populate(yang_stmt *ys,
void *arg)
{