Module: kamailio
Branch: master
Commit: 729dac6667b8ba4f7b417351770fda3e2ecb7b8c
URL:
https://github.com/kamailio/kamailio/commit/729dac6667b8ba4f7b417351770fda3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-04-01T13:43:55+02:00
core: exposed xavu_print_list() function
---
Modified: src/core/xavp.c
Modified: src/core/xavp.h
---
Diff:
https://github.com/kamailio/kamailio/commit/729dac6667b8ba4f7b417351770fda3…
Patch:
https://github.com/kamailio/kamailio/commit/729dac6667b8ba4f7b417351770fda3…
---
diff --git a/src/core/xavp.c b/src/core/xavp.c
index 492bef21f3..12c52512fd 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 59a075ecc0..66addbfff8 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);