- error constants
authorMichael Wallner <mike@php.net>
Wed, 13 Apr 2005 13:35:57 +0000 (13:35 +0000)
committerMichael Wallner <mike@php.net>
Wed, 13 Apr 2005 13:35:57 +0000 (13:35 +0000)
php_http_std_defs.h

index 49591cd578476612499a4f51e7394147ce0a6e92..b4aee3f144607ea1cc0bbcc5b4849954efcfad9f 100644 (file)
@@ -142,9 +142,21 @@ typedef int STATUS;
 #      define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC)
 #      define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC)
 
+#      ifndef E_THROW
+#              define E_THROW 0
+#      endif
+
 #endif /* ZEND_ENGINE_2 */
 /* }}} */
 
+#define HTTP_E_UNKOWN          0L
+#define HTTP_E_PARSE           1L
+#define HTTP_E_HEADER          2L
+#define HTTP_E_OBUFFER         3L
+#define HTTP_E_CURL                    4L
+#define HTTP_E_ENCODE          5L
+#define HTTP_E_PARAM           6L
+#define HTTP_E_URL                     7L
 
 #endif /* PHP_HTTP_STD_DEFS_H */