projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
2253ca2
)
- error constants
author
Michael Wallner
<mike@php.net>
Wed, 13 Apr 2005 13:35:57 +0000
(13:35 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 13 Apr 2005 13:35:57 +0000
(13:35 +0000)
php_http_std_defs.h
patch
|
blob
|
history
diff --git
a/php_http_std_defs.h
b/php_http_std_defs.h
index 49591cd578476612499a4f51e7394147ce0a6e92..b4aee3f144607ea1cc0bbcc5b4849954efcfad9f 100644
(file)
--- 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)
# 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 */
/* }}} */
#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 */
#endif /* PHP_HTTP_STD_DEFS_H */