2 +----------------------------------------------------------------------+
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.0 of the PHP license, that |
6 | is bundled with this package in the file LICENSE, and is available |
7 | through the world-wide-web at http://www.php.net/license/3_0.txt. |
8 | If you did not receive a copy of the PHP license and are unable to |
9 | obtain it through the world-wide-web, please send a note to |
10 | license@php.net so we can mail you a copy immediately. |
11 +----------------------------------------------------------------------+
12 | Copyright (c) 2004-2005 Michael Wallner <mike@php.net> |
13 +----------------------------------------------------------------------+
18 #ifndef PHP_HTTP_EXCEPTION_OBJECT_H
19 #define PHP_HTTP_EXCEPTION_OBJECT_H
22 extern zend_class_entry
*http_exception_object_ce
;
23 extern zend_function_entry http_exception_object_fe
[];
25 #define http_exception_object_init _http_exception_object_init
26 extern void _http_exception_object_init(INIT_FUNC_ARGS
);
28 #define http_exception_get_default _http_exception_get_default
29 extern zend_class_entry
*_http_exception_get_default();
31 #define http_exception_throw() http_exception_throw_ex(0)
32 #define http_exception_throw_ex(code) http_exception_throw_ce_ex(NULL, code)
33 #define http_exception_throw_ce(ce) http_exception_throw_ce_ex(ce, 0)
34 #define http_exception_throw_ce_ex(ce, code) _http_exception_throw_ce_ex(ce, code TSRMLS_CC)
35 extern void _http_exception_throw_ce_ex(zend_class_entry
*ce
, int code TSRMLS_DC
);
37 #define HTTP_E_UNKOWN 0
47 * vim600: noet sw=4 ts=4 fdm=marker
48 * vim<600: noet sw=4 ts=4