[PATCH] SNMP, 2nd try
| From: | Johann Hanne | Date: | Wed, 18 Jun 2003 18:08:32 +0000 |
| Subject: | [PATCH] SNMP, 2nd try | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-2393@lists.php.net to get a copy of this message | ||
Hi all,
this is the second version of my patch regarding the SNMP value retrieval. If
you want to know more, please have a look at my previous explanation:
http://www.phpbuilder.com/mail/php-developer-list/2003011/0449.php
(And BTW, for some PHP security fun, have a look at:
http://www.phpbuilder.com/mail/php-developer-list/2003011/att-0449/02-snmptest.php)
Some things have been modified by request:
- The ASN_* constants are now named SNMP_*
- The SNMP_VALUEMETHOD_* constants are now named SNMP_VALUE_* (shorter, but I
want to keep the _VALUE_ part to make them distinguishable from the other
SNMP_* constants)
- The snmp_set/get_valuemethod() functions are now named
snmp_set/get_valueretrieval()
- The Net-SNMP experimental value types have been dropped
A modified test-script is also attached...
Cheers, Jonny