On 08/01/07, Clement Hsu <[EMAIL PROTECTED]> wrote:
> But I don't realize how to use DEBUGMSG( ) correct.
Please see the existing code for examples.
E.g.
$ cd agent
$ grep DEBUGMSG *.c
snmp_perl.c:DEBUGMSGTL(("perl", "calling perl\n"));
snmpd.c:DEBUGMSGTL(("snmpd/main", "Bye...\n
Dear Dave:
Thanks a lot.
But I don't realize how to use DEBUGMSG( ) correct.
For example:
#include
#include
#include
#include
#include "ucdSnmpTutorialMIB.h"
#include
#include
void
init_ucdSnmpTutorialMIB(void)
{
static oid ustSSSimpleString_oid[] =
{ 1, 3, 6, 1, 4, 1, 2021,
On 26/12/06, Clement Hsu <[EMAIL PROTECTED]> wrote:
> I meet a problem of how to debug snmp codes
> the following is my code...
> void
> init_ustScalarSet(void)
> {
>
> DEBUGMSGTL(("ustScalarSet", "Initializing\n"));
>
> REGISTER_MIB("ustScalarSet", ustScalarSet_variables, variable4,
>