summaryrefslogtreecommitdiff
path: root/ext/snmp/php_snmp.h
diff options
context:
space:
mode:
authorHarrie Hazewinkel <harrie@php.net>2002-11-11 21:09:19 +0000
committerHarrie Hazewinkel <harrie@php.net>2002-11-11 21:09:19 +0000
commit957f651708f42a2583560f60d8686d5f6ebfb90c (patch)
tree6c96fd70912c9b2b6e1c975cb8451905b034ad00 /ext/snmp/php_snmp.h
parent759e4b10e81630f1e71031b2cb835c781e98ab9e (diff)
downloadphp-git-957f651708f42a2583560f60d8686d5f6ebfb90c.tar.gz
Adding SNMPv3 support.
This splits the old php_snmp function into an argument parsing part and a data retrieval part. The data retrieval part is reused for SNMPv3. SNMPv3 has only a different argument parsing. THe code is not extremely beautiful, but having NET-SNMP and UCD-SNMP support creates this. :-( Documentation must still be done.
Diffstat (limited to 'ext/snmp/php_snmp.h')
-rw-r--r--ext/snmp/php_snmp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/snmp/php_snmp.h b/ext/snmp/php_snmp.h
index f4a07e6718..af73faa766 100644
--- a/ext/snmp/php_snmp.h
+++ b/ext/snmp/php_snmp.h
@@ -15,6 +15,7 @@
| Authors: Rasmus Lerdorf <rasmus@php.net> |
| Mike Jackson <mhjack@tscnet.com> |
| Steven Lawrance <slawrance@technologist.com> |
+| Harrie Hazewinkel <harrie@lisanza.net> |
+----------------------------------------------------------------------+
*/
@@ -37,6 +38,12 @@ PHP_FUNCTION(snmprealwalk);
PHP_FUNCTION(snmp_get_quick_print);
PHP_FUNCTION(snmp_set_quick_print);
PHP_FUNCTION(snmpset);
+PHP_FUNCTION(snmpv3get);
+PHP_FUNCTION(snmpv3getnext);
+PHP_FUNCTION(snmpv3walk);
+PHP_FUNCTION(snmpv3realwalk);
+PHP_FUNCTION(snmpv3set);
+PHP_FUNCTION(snmpv3getbulk);
PHP_MINFO_FUNCTION(snmp);
#else