[PHP4BETA] CVS update: php4/ext/snmp
| From: | zeev | Date: | Sun, 09 May 1999 08:48:01 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/snmp | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-718@lists.php.net to get a copy of this message | ||
Date: Sunday May 9, 1999 @ 4:48
Author: zeev
Update of /repository/php4/ext/snmp
In directory php:/tmp/cvs-serv25538/ext/snmp
Modified Files:
php3_snmp.h snmp.c
Log Message:
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
Index: php4/ext/snmp/php3_snmp.h
diff -u php4/ext/snmp/php3_snmp.h:1.1 php4/ext/snmp/php3_snmp.h:1.2
--- php4/ext/snmp/php3_snmp.h:1.1 Wed Apr 21 22:48:25 1999
+++ php4/ext/snmp/php3_snmp.h Sun May 9 04:48:00 1999
@@ -26,7 +26,7 @@
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
-/* $Id: php3_snmp.h,v 1.1 1999/04/22 02:48:25 ssb Exp $ */
+/* $Id: php3_snmp.h,v 1.2 1999/05/09 08:48:00 zeev Exp $ */
#ifndef _PHP3_SNMP_H
#define _PHP3_SNMP_H
@@ -46,7 +46,7 @@
extern PHP_FUNCTION(snmpget);
extern PHP_FUNCTION(snmpwalk);
extern PHP_FUNCTION(snmprealwalk);
-extern void php3_info_snmp(void);
+extern void php3_info_snmp(ZEND_MODULE_INFO_FUNC_ARGS);
#else
#define snmp_module_ptr NULL
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.1 php4/ext/snmp/snmp.c:1.2
--- php4/ext/snmp/snmp.c:1.1 Wed Apr 21 22:48:25 1999
+++ php4/ext/snmp/snmp.c Sun May 9 04:48:01 1999
@@ -26,7 +26,7 @@
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.1 1999/04/22 02:48:25 ssb Exp $ */
+/* $Id: snmp.c,v 1.2 1999/05/09 08:48:01 zeev Exp $ */
#include "php.h"
#if defined(COMPILE_DL)
@@ -104,7 +104,7 @@
return SUCCESS;
}
-void php3_info_snmp(void) {
+void php3_info_snmp(ZEND_MODULE_INFO_FUNC_ARGS) {
php3_printf("ucd-snmp");
}
--
PHP 4 Beta