Browse code

core: exposed xavu_print_list() function

Daniel-Constantin Mierla authored on 01/04/2020 11:43:55
Showing 2 changed files
... ...
@@ -1102,6 +1102,11 @@ void xavu_print_list_content(sr_xavp_t **head, int level)
1102 1102
 	xavx_print_list_content("XAVU", head, _xavu_list_crt, level);
1103 1103
 }
1104 1104
 
1105
+void xavu_print_list(sr_xavp_t **head)
1106
+{
1107
+	xavu_print_list_content(head, 0);
1108
+}
1109
+
1105 1110
 /**
1106 1111
  *
1107 1112
  */
... ...
@@ -114,6 +114,7 @@ int xavp_set_child_sval(str *rname, str *cname, str *sval);
114 114
 
115 115
 /** xavu api */
116 116
 void xavu_print_list_content(sr_xavp_t **head, int level);
117
+void xavu_print_list(sr_xavp_t **head);
117 118
 #define xavu_destroy_list_unsafe xavp_destroy_list_unsafe
118 119
 #define xavu_destroy_list xavp_destroy_list
119 120
 void xavu_reset_list(void);