summaryrefslogtreecommitdiff
path: root/ext/snmp/php_snmp.h
diff options
context:
space:
mode:
authorBoris Lytochkin <lytboris@php.net>2011-09-02 10:13:30 +0000
committerBoris Lytochkin <lytboris@php.net>2011-09-02 10:13:30 +0000
commitbc3d5d668f5f5ccc5520d0ae296fc1c4dfd762ab (patch)
treed342b2f19c4e2b228826e3ecbfe31e8fd331eb83 /ext/snmp/php_snmp.h
parent280c4da0d1e235c7815880986df42c496d199d28 (diff)
downloadphp-git-bc3d5d668f5f5ccc5520d0ae296fc1c4dfd762ab.tar.gz
merge from trunk
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;