Re: [PHP-DEV] [PATCH] SNMP value retrieval

2003-01-21 Thread Johann Hanne
> *) I am not completely understanding what you want > with the SNMP_VALUE_METHODPLAIN. Is this the BER encoded > value?? If so that is a not wanted feature, IMHO. Nope. It will return the value as a plain string, very much like it's done with SNMP_VALUEMETHOD_LIBRARY set. However it will ALWAYS

Re: [PHP-DEV] [PATCH] SNMP value retrieval

2003-01-21 Thread Harrie Hazewinkel
HI, I have reviewed your patch and some comments I have are below, in perticular I was wondering what would be best to do so. *) I am not completely understanding what you want with the SNMP_VALUE_METHODPLAIN. Is this the BER encoded value?? If so that is a not wanted feature, IMHO. *) The obje

Re: [PHP-DEV] [PATCH] SNMP value retrieval

2003-01-16 Thread Johann Hanne
Hi Harrie, thanks for the reply. I nearly began to believe that it *IS* ignored ;-) Cheers, Jonny <[EMAIL PROTECTED]> On Thu, 16 Jan 2003, Harrie Hazewinkel wrote: > HI, > > Just a notice that I am not ignoring it. > I am looking into it and try to understand it. > > On Tuesday, January 14,

Re: [PHP-DEV] [PATCH] SNMP value retrieval

2003-01-16 Thread Harrie Hazewinkel
HI, Just a notice that I am not ignoring it. I am looking into it and try to understand it. On Tuesday, January 14, 2003, at 08:19 PM, Johann Hanne wrote: Hi, The patch makes it much easier to parse the returned SNMP values, as they are no longer pre-parsed by the net-snmp library after you

[PHP-DEV] [PATCH] SNMP value retrieval

2003-01-14 Thread Johann Hanne
Hi, as promised I've created a patch which adds some functionality to the SNMP module. It's controlled with a new function named snmp_set_valuemethod(int method) which changes the way how SNMP values are returned by snmpget(), snmpwalk() and snmpwalkoid(). The following (new) constants can be