summaryrefslogtreecommitdiff
path: root/ext/snmp/php_snmp.h
diff options
context:
space:
mode:
authorBoris Lytochkin <lytboris@php.net>2011-09-02 10:04:19 +0000
committerBoris Lytochkin <lytboris@php.net>2011-09-02 10:04:19 +0000
commitd077fc321101f0bb212282783c9c667593a4383e (patch)
tree9c455fb0adc6a25f74880a4add8e79bfe7aad930 /ext/snmp/php_snmp.h
parent7e5d9ae1dd8e86b4718cc4041e775c4501ff99eb (diff)
downloadphp-git-d077fc321101f0bb212282783c9c667593a4383e.tar.gz
added SNMPException class, enabling ability to throw exceptions
when a known SNMP error has occured FR #55542
Diffstat (limited to 'ext/snmp/php_snmp.h')
-rw-r--r--ext/snmp/php_snmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/snmp/php_snmp.h b/ext/snmp/php_snmp.h
index 500d4f8df8..46deeff3ad 100644
--- a/ext/snmp/php_snmp.h
+++ b/ext/snmp/php_snmp.h
@@ -94,6 +94,7 @@ typedef struct _php_snmp_object {
int oid_output_format;
int snmp_errno;
int oid_increasing_check;
+ int exceptions_enabled;
char snmp_errstr[256];
} php_snmp_object;