summaryrefslogtreecommitdiff
path: root/ext/snmp/php_snmp.h
diff options
context:
space:
mode:
authorHarrie Hazewinkel <harrie@php.net>2003-07-14 18:10:22 +0000
committerHarrie Hazewinkel <harrie@php.net>2003-07-14 18:10:22 +0000
commita8d156177f59c03cfd6e2bd18d1d0eb2ca763742 (patch)
tree7329f7bbeac6da09af0019f91cf26036122ca1d1 /ext/snmp/php_snmp.h
parentfa910bd2b0728f1a4722a930b64cacb76a97c855 (diff)
downloadphp-git-a8d156177f59c03cfd6e2bd18d1d0eb2ca763742.tar.gz
Adding an SNMP GETNEXT.
This is a basic SNMP operation that retrieves the next value as the one provided to the command. NOTE: snmpgetnext does not follow the official naming convetions of functions, but now it is equal to it version 1 equivalents snmpget and snmpset. I also would like to reserve the snmp_getnext for a function to which a session can be given instead of the multiple values to create the session internally. (Work in progress).
Diffstat (limited to 'ext/snmp/php_snmp.h')
-rw-r--r--ext/snmp/php_snmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/snmp/php_snmp.h b/ext/snmp/php_snmp.h
index f0cba3fb10..1cb69fbd90 100644
--- a/ext/snmp/php_snmp.h
+++ b/ext/snmp/php_snmp.h
@@ -42,6 +42,7 @@ PHP_MINIT_FUNCTION(snmp);
PHP_MINFO_FUNCTION(snmp);
PHP_FUNCTION(snmpget);
+PHP_FUNCTION(snmpgetnext);
PHP_FUNCTION(snmpwalk);
PHP_FUNCTION(snmprealwalk);
PHP_FUNCTION(snmp_get_quick_print);
@@ -51,6 +52,7 @@ PHP_FUNCTION(snmp_set_oid_numeric_print);
PHP_FUNCTION(snmpset);
PHP_FUNCTION(snmp3_get);
+PHP_FUNCTION(snmp3_getnext);
PHP_FUNCTION(snmp3_walk);
PHP_FUNCTION(snmp3_real_walk);
PHP_FUNCTION(snmp3_set);