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