X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=lib%2Fdebug.c;h=34f4885f33f379e3394efabf37c727f688e9826c;hb=e981fbcf3909fbaba462c7b578f29fa67b3bc74b;hp=2d4e242e23479b5bec253b34ecc8a7ca24f694c3;hpb=07fa3839c8bddd1ad91f86243dd582c0359ba3e1;p=radsecproxy.git 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 #include +#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); +}