cvs: /php3/functions snmp.c
| From: | Rasmus Lerdorf | Date: | Wed, 17 Nov 1999 19:57:21 +0000 |
| Subject: | cvs: /php3/functions snmp.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12676@lists.php.net to get a copy of this message | ||
rasmus Wed Nov 17 14:57:21 1999 EDT
Modified files:
/php3/functions snmp.c
Log:
Prototypes were wrong
Index: php3/functions/snmp.c
diff -u php3/functions/snmp.c:1.23 php3/functions/snmp.c:1.24
--- php3/functions/snmp.c:1.23 Sun Nov 14 06:41:14 1999
+++ php3/functions/snmp.c Wed Nov 17 14:57:20 1999
@@ -28,7 +28,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.23 1999/11/14 11:41:14 kk Exp $ */
+/* $Id: snmp.c,v 1.24 1999/11/17 19:57:20 rasmus Exp $ */
#include "php.h"
#include "internal_functions.h"
@@ -346,16 +346,16 @@
}
/* }}} */
-/* {{{ proto string snmprealwalk(string host, string community, string object_id [, int timeout [,
int retries]])
- Return all objects including their respective object id withing the specified one */
+/* {{{ proto array snmprealwalk(string host, string community, string object_id [, int timeout [,
int retries]])
+ An alias for snmpwalkoid */
PHP_FUNCTION(snmprealwalk)
{
_php3_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,3);
}
/* }}} */
-/* {{{ proto string snmprealoid(string host, string community, string object_id [, int timeout [,
int retries]])
- Return all objects including their respective object id withing the specified one */
+/* {{{ proto array snmpwalkoid(string host, string community, string object_id [, int timeout [,
int retries]])
+ Return an associative array of oid,value pairs of all object under the specified one */
PHP_FUNCTION(snmpwalkoid)
{
_php3_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,4);