- fix issues ifndef HTTP_HAVE_CURL
[m6w6/ext-http] / php_http_exception_object.h
1 /*
2 +----------------------------------------------------------------------+
3 | PECL :: http |
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 +----------------------------------------------------------------------+
14 */
15
16 /* $Id$ */
17
18 #ifndef PHP_HTTP_EXCEPTION_OBJECT_H
19 #define PHP_HTTP_EXCEPTION_OBJECT_H
20 #ifdef ZEND_ENGINE_2
21
22 PHP_MINIT_FUNCTION(http_exception_object);
23
24 extern zend_class_entry *http_exception_object_ce;
25 extern zend_function_entry http_exception_object_fe[];
26
27 #define http_exception_get_default _http_exception_get_default
28 extern zend_class_entry *_http_exception_get_default();
29
30 #define http_exception_get_for_code(c) _http_exception_get_for_code(c)
31 extern zend_class_entry *_http_exception_get_for_code(long code);
32
33 #endif
34 #endif
35
36 /*
37 * Local variables:
38 * tab-width: 4
39 * c-basic-offset: 4
40 * End:
41 * vim600: noet sw=4 ts=4 fdm=marker
42 * vim<600: noet sw=4 ts=4
43 */
44