cvs: /php4/ext/snmp snmp.c
| From: | Egon Schmid | Date: | Thu, 24 Feb 2000 07:38:49 +0000 |
| Subject: | cvs: /php4/ext/snmp snmp.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10797@lists.php.net to get a copy of this message | ||
eschmid Wed Feb 23 23:38:49 2000 EDT
Modified files:
/php4/ext/snmp snmp.c
Log:
More protos.
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.19 php4/ext/snmp/snmp.c:1.20
--- php4/ext/snmp/snmp.c:1.19 Sat Feb 19 15:41:20 2000
+++ php4/ext/snmp/snmp.c Wed Feb 23 23:38:19 2000
@@ -17,7 +17,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.19 2000/02/19 23:41:20 zeev Exp $ */
+/* $Id: snmp.c,v 1.20 2000/02/24 07:38:19 eschmid Exp $ */
#include "php.h"
#if defined(COMPILE_DL)
@@ -318,21 +318,21 @@
}
/* {{{ proto string snmpget(string host, string community, string object_id [, int timeout [, int
retries]])
-Fetch an SNMP object */
+ Fetch an SNMP object */
PHP_FUNCTION(snmpget) {
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,1);
}
/* }}} */
/* {{{ proto string snmpwalk(string host, string community, string object_id [, int timeout [, int
retries]])
-Return all objects under the specified object id */
+ Return all objects under the specified object id */
PHP_FUNCTION(snmpwalk) {
return php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,2);
}
/* }}} */
/* {{{ 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 */
+ Return all objects including their respective object id withing the specified one */
PHP_FUNCTION(snmprealwalk)
{
return php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,3);
@@ -340,7 +340,7 @@
/* }}} */
/* {{{ 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 */
+ Return all objects including their respective object id withing the specified one */
PHP_FUNCTION(snmpwalkoid)
{
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,4);
@@ -348,7 +348,7 @@
/* }}} */
/* {{{ proto int snmp_get_quick_print(void)
-Return the current status of quick_print */
+ Return the current status of quick_print */
PHP_FUNCTION(snmp_get_quick_print)
{
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,9);
@@ -356,7 +356,7 @@
/* }}} */
/* {{{ proto void snmp_set_quick_print(int quick_print)
-Return all objects including their respective object id withing the specified one */
+ Return all objects including their respective object id withing the specified one */
PHP_FUNCTION(snmp_set_quick_print)
{
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,10);
@@ -364,7 +364,7 @@
/* }}} */
/* {{{ proto int snmpset(string host, string community, string object_id, string type, mixed value
[, int timeout [, int retries]])
-Set the value of a SNMP object */
+ Set the value of a SNMP object */
PHP_FUNCTION(snmpset) {
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,11);
}