version deference

2008-01-27 Thread Isaac Eliassi
Hello, I am about to implement a SNMP agent, my colleague already implemented an agent a couple of years ago using the ucd-snmp-4.2.6 version code, I would like to know please: 1. Whether I should use at my product the same version or a newer one (5.4.1 for example) i.e. can an agent implemente

Re: on 64 bit

2008-01-27 Thread deepak b
On Jan 16, 2008 10:58 PM, Robert Story <[EMAIL PROTECTED]> wrote: > On Fri, 4 Jan 2008 18:52:51 +0530 deepak wrote: > DB> But it still doesnt explain why i am getting zero padded OID when i > print > DB> reqVar->name inside the handlers? > > The int32/long bit part explains it pretty well, I think

Re: oid structure definition

2008-01-27 Thread Magnus Fromreide
On sön, 2008-01-27 at 17:57 +0200, Isaac Eliassi wrote: > Hi, > > At which header file can I find the definition of the oid structure. >From net-snmp/types.h (HEAD, not 4.2.6, but I do not think this has changed a lot) #ifndef MAX_SUBID /* temporary - duplicate definition protection */ #ifndef

Re: config_require() and config_add_mib()

2008-01-27 Thread Magnus Fromreide
On sön, 2008-01-27 at 17:55 +0200, Isaac Eliassi wrote: > Hi, > > > > I am using ucd-snmp-4.2.6 code That is quite old. Unless you have a very good reason to use that version I would suggest an upgrade. > , and I was unable to understand execlly what does the 2 MACRO’s > config_require() and

oid structure definition

2008-01-27 Thread Isaac Eliassi
Hi, At which header file can I find the definition of the oid structure. Best regards, Isaac Eliassi Embedded Software , R&D, EIS NICE Systems. Israel (T) + 972-9-7753982 (F) + 972-9-7753000 (M) + 972-54-4608201 [EMAIL PROTECTED] www.nice.com --

config_require() and config_add_mib()

2008-01-27 Thread Isaac Eliassi
Hi, I am using ucd-snmp-4.2.6 code, and I was unable to understand execlly what does the 2 MACRO's config_require() and config_add_mib() does, The implementation of the MACRO at my package is: #define config_require(x) Which (as much as I understand) does nothing. Best regards, Isaac Eliassi Em