Re: Where should I free the global table ?

2011-02-04 Thread Dave Shield
On 4 February 2011 04:29, sujata patra wrote: > I  have problem of freeing the messageTable_head linked list. I found it > frees everytime cache expires by calling messageTable_free(). But I do not > want that to be freed everytime. It will be created at start time and want > to be freed at shutdo

Re: SET Request: row creation can't find functions

2011-02-04 Thread Dave Shield
On 3 February 2011 10:22, Egor wrote: > I Have MIB file: I presume that is not the *whole* of the MIB file? Could you try posting the full file (or at least the complete definition of the table). >From the information available at the moment, it's impossible to tell if the problem lies in the Mf

Re: Newbie ->Make Error (hopefully not too dumb)

2011-02-04 Thread rabiels1
Thanks Bart! I did the ./configure & make sequence with both v5.5 & v 5.6.1 and got the same results. I went into the file snmt-tc.c and commented out the timezone offset in #ifndef cygiwn in the function date_n_time. With that change I got through the make and make install. Bart Van A

Re: SNMP Object SYNTAX: PortList - Is there any better way to implement

2011-02-04 Thread Dave Shield
On 3 February 2011 05:02, Biswajit Mandal wrote: > I have query regarding the objects whose SYNTAX is PortList. > > Currently the objects having PortList SYNTAX, scaling the number of ports > becomes a problem. > > For example say, > The number of ports in the system can scale upto a few thousands

Re: SNMP PROGRAMMING

2011-02-04 Thread Dave Shield
On 2 February 2011 04:25, shankar wrote: > ... i need some information regarding some API`s, listed under > > netsnmp_create_handler_registration This routine is used to set up a mapping between a region of the OID tree (parameters 3&4), and a particular handler routine (parameter 2) When the

Re: Newbie ->Make Error (hopefully not too dumb)

2011-02-04 Thread Bart Van Assche
On Fri, Feb 4, 2011 at 3:14 AM, wrote: > > Sorry, I got my error all wrong. :-( It is about not having the variable > declared. The code snippet is really: > > #ifndef cygwin > /* > * Timezone offset > */ > { > #ifdef HAVE_STRUCT_TM_TM_GMTOFF > const int tzoffset = tm_p->

Re: Newbie ->Make Error (hopefully not too dumb)

2011-02-04 Thread rabiels1
Sorry, I got my error all wrong. :-( It is about not having the variable declared. The code snippet is really: #ifndef cygwin /* * Timezone offset */ { #ifdef HAVE_STRUCT_TM_TM_GMTOFF const int tzoffset = tm_p->tm_gmtoff; #else const int tzoffset = timezone; #endif si