diff --git a/src/core/xavp.c b/src/core/xavp.c index 492bef21f37..12c52512fdc 100644 --- a/src/core/xavp.c +++ b/src/core/xavp.c @@ -1102,6 +1102,11 @@ void xavu_print_list_content(sr_xavp_t **head, int level) xavx_print_list_content("XAVU", head, _xavu_list_crt, level); } +void xavu_print_list(sr_xavp_t **head) +{ + xavu_print_list_content(head, 0); +} + /** * */ diff --git a/src/core/xavp.h b/src/core/xavp.h index 59a075ecc01..66addbfff87 100644 --- a/src/core/xavp.h +++ b/src/core/xavp.h @@ -114,6 +114,7 @@ int xavp_set_child_sval(str *rname, str *cname, str *sval); /** xavu api */ void xavu_print_list_content(sr_xavp_t **head, int level); +void xavu_print_list(sr_xavp_t **head); #define xavu_destroy_list_unsafe xavp_destroy_list_unsafe #define xavu_destroy_list xavp_destroy_list void xavu_reset_list(void);