- ad verbosity about checking for ext/hash and avoid empty else..fi case
[m6w6/ext-http] / php_http_exception_object.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2005, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 /* $Id$ */
14
15 #ifndef PHP_HTTP_EXCEPTION_OBJECT_H
16 #define PHP_HTTP_EXCEPTION_OBJECT_H
17 #ifdef ZEND_ENGINE_2
18
19 #include "zend_exceptions.h"
20
21 PHP_MINIT_FUNCTION(http_exception_object);
22
23 extern zend_class_entry *http_exception_object_ce;
24 extern zend_function_entry http_exception_object_fe[];
25
26 #define http_exception_get_default _http_exception_get_default
27 extern zend_class_entry *_http_exception_get_default();
28
29 #define http_exception_get_for_code(c) _http_exception_get_for_code(c)
30 extern zend_class_entry *_http_exception_get_for_code(long code);
31
32 #endif
33 #endif
34
35 /*
36 * Local variables:
37 * tab-width: 4
38 * c-basic-offset: 4
39 * End:
40 * vim600: noet sw=4 ts=4 fdm=marker
41 * vim<600: noet sw=4 ts=4
42 */
43