From: Michael Wallner Date: Wed, 13 Apr 2005 13:35:57 +0000 (+0000) Subject: - error constants X-Git-Tag: RELEASE_0_8_0~66 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6a9c33f395f4293eb122c6e884a35c0153537446;p=m6w6%2Fext-http - error constants --- diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 49591cd..b4aee3f 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -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 */