Re: is there any way I can avoid global variable?

2011-08-23 Thread sujata patra
Thanks. But what about get_first_data_point() and get_next_data_point(). They also need to access the tcp_head right ? vamgic is not a an argument for these functions. I have one more doubt. Let's say there is two table tcpTable and udpTable. And both has been loaded by same _load() function

RE: NET-SNMP Compile Errors

2011-08-23 Thread Lomax, Michael P.
The patch that I found, which describes the libperfstat.h and protosw.h along with aix6.1 looked like it might be the one. The title is net-snmp-5.4.2.1-aix61.patch and it appears to have been around since July 2010. When you view the patch, it also lists 5.4.2.1 all throughout the file. Here

dynamically loadable object

2011-08-23 Thread chulk
I use mib2c to generate tempalate codes. == mib2c -c mib2c.mfd.conf vdslLineTable Then I got following files: vdslLineTable-README-FIRST.txt vdslLineTable-README-vdslLineTable.txt vdslLineTable.c vdslLineTable.h vdslLineTable_data_access.c vdslLineTable_data_access.h vdslLineTable_data_get.c

RE: NET-SNMP Compile Errors

2011-08-23 Thread Lomax, Michael P.
Dave, I had thought that what I was doing a. But something that Thomas said this morning made me realize that it was not. I therefore started studying further about Git and found Thomas' patch. Using `patch -b -i patchfile configure.d/config_os_headers` it appeared I was successful in

RE: NET-SNMP Compile Errors

2011-08-23 Thread Lomax, Michael P.
Nope... It failed with: sh-2.05b# autoconf configure.ac:14: error: Autoconf version 2.63 or higher is required configure.ac:14: the top level autom4te: /usr/linux/bin/m4 failed with exit status: 63 sh-2.05b# Mike Lomax Principal Systems Engineer, Advanced Technology Solutions

Re: is there any way I can avoid global variable?

2011-08-23 Thread sujata patra
Apology If I resending it again. Thanks. But what about get_first_data_point() and get_next_data_point() ? They also need to access the tcp_head right ? vamgic is not a an argument for these functions. I have one more doubt. Let's say there is two table tcpTable and udpTable. And both has