summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.c')
-rw-r--r--lib/debug.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/debug.c b/lib/debug.c
index 2d4e242..34f4885 100644
--- a/lib/debug.c
+++ b/lib/debug.c
@@ -1,4 +1,6 @@
+#include <stdio.h>
#include <freeradius/libradius.h>
+#include "libradsec.h"
#include "libradsec-impl.h"
#include "debug.h"
@@ -69,3 +71,9 @@ rs_dump_packet (const struct rs_packet *pkt)
{
print_hex (pkt->rpkt);
}
+
+void
+rs_dump_attr (const struct rs_attr *attr)
+{
+ vp_printlist (stderr, attr->vp);
+}