cvs: php-src /ext/snmp snmp.c
| From: | Harrie Hazewinkel | Date: | Mon, 14 Jul 2003 17:34:56 +0000 |
| Subject: | cvs: php-src /ext/snmp snmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22552@lists.php.net to get a copy of this message | ||
harrie Mon Jul 14 13:34:56 2003 EDT
Modified files:
/php-src/ext/snmp snmp.c
Log:
(RE applying)
Cleaning up some very old definitions of version 3.3.1 until 3.5.3.
Those versions are that old that people better upgrade the SNMP libraries.
Index: php-src/ext/snmp/snmp.c
diff -u php-src/ext/snmp/snmp.c:1.78 php-src/ext/snmp/snmp.c:1.79
--- php-src/ext/snmp/snmp.c:1.78 Mon Jul 14 13:11:04 2003
+++ php-src/ext/snmp/snmp.c Mon Jul 14 13:34:56 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.78 2003/07/14 17:11:04 harrie Exp $ */
+/* $Id: snmp.c,v 1.79 2003/07/14 17:34:56 harrie Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -102,12 +102,6 @@
/* For really old ucd-snmp versions.. */
#ifndef HAVE_SNMP_PARSE_OID
#define snmp_parse_oid read_objid
-#endif
-
-/* ucd-snmp 3.3.1 changed the name of a few #defines... They've been changed back to the
original ones in 3.5.3! */
-#ifndef SNMP_MSG_GET
-#define SNMP_MSG_GET GET_REQ_MSG
-#define SNMP_MSG_GETNEXT GETNEXT_REQ_MSG
#endif
#define SNMP_VALUE_LIBRARY 0