1 /* See the file COPYING for licensing information. */
3 #if defined HAVE_CONFIG_H
9 #include <freeradius/libradius.h>
10 #include <radsec/radsec.h>
11 #include <radsec/radsec-impl.h>
15 rs_dump_packet (const struct rs_packet *pkt)
17 const RADIUS_PACKET *p = NULL;
19 if (!pkt || !pkt->rpkt)
23 fprintf (stderr, "\tCode: %u, Identifier: %u, Lenght: %u\n",
31 rs_dump_attr (const struct rs_attr *attr)
33 vp_printlist (stderr, attr->vp);
38 _rs_debug (const char *fmt, ...)
44 n = vfprintf (stderr, fmt, args);