]>
git.ipfire.org Git - thirdparty/squid.git/blob - lib/snmplib/snmplib_debug.c
10 #include "snmp_debug.h"
12 void (*snmplib_debug_hook
) (int, char *,...) = NULL
;
15 snmplib_debug(int lvl
, const char *fmt
,...)
21 if (snmplib_debug_hook
!= NULL
) {
22 vsnprintf(buf
, BUFSIZ
, fmt
, args
);
23 snmplib_debug_hook(lvl
, buf
);
25 vfprintf(stderr
, fmt
, args
);