code architecture documentation

2007-11-27 Thread MEHMET ALI EKICI
Hi All, I started looking at net-SNMP codes. It looks to me a little complex may be because I am not familiar to the architecture of the code. Do you know any document or guide describes architectural working of net-SNMP ? Thanks, Mehmet, Confidentiality Notice: This e-mail transmis

snmpset problem

2007-11-27 Thread wqs
I have compiled my module into the agent,and run snmpset,first time I set a long string:"",it's ok;next time,I set a shorter string:"bb",but the value in the mib became "bbaaa",how could that happen? my code related: case MODE_SET_ACTION: if ( sizeof(def_nodeType) < strlen(request

the doubt of creating MIB tree firstly

2007-11-27 Thread 狄卫华
When reading the process of creating MIB tree (net-snmp 5.3.2.pre1), I find that the process may cause the memory leak, could you give me some suggestions? setting up the MIB tree firstly, the process of function calling as follows: -> main() -> init_agent(()

Re: register_readfd

2007-11-27 Thread Dave Shield
On 26/11/2007, Sridhar Addagada <[EMAIL PROTECTED]> wrote: > If i was planning to use the delegate for the get requests, can i > still use the register_readfd instead of the snmp_alarm_register from > the example file delayed_instance.c That should work, I think, The register_fd callback routine w