Re: Subhandler function

2006-08-30 Thread Chino Aureus
Thanks :)On 8/31/06, sishen <[EMAIL PROTECTED]> wrote: Chino Aureus wrote:>> Hi,>> I have an integer variable which I'm exposing via my MIB.  What I want> to achive is when a SNMP GET operation is performned on this variable> , the value will be reset to 0.  I'm using the function below to > regist

Re: Subhandler function

2006-08-30 Thread sishen
Chino Aureus wrote: > > Hi, > > I have an integer variable which I'm exposing via my MIB. What I want > to achive is when a SNMP GET operation is performned on this variable > , the value will be reset to 0. I'm using the function below to > register the int variable. > > int *netsnmp_register

Subhandler function

2006-08-30 Thread Chino Aureus
Hi, I have an integer variable which I'm exposing via my MIB.  What I want to achive is when a SNMP GET operation is performned on this variable , the value will be reset to 0.  I'm using the function below to register the int variable. int netsnmp_register_int_instance (const char *name, oid *