2 +--------------------------------------------------------------------+
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-2010, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
13 /* $Id: php_http_exception_object.h 292841 2009-12-31 08:48:57Z mike $ */
15 #ifndef PHP_HTTP_EXCEPTION_H
16 #define PHP_HTTP_EXCEPTION_H
18 PHP_MINIT_FUNCTION(http_exception_object
);
20 #define PHP_HTTP_EX_DEF_CE php_http_exception_class_entry
21 #define PHP_HTTP_EX_CE(name) php_http_ ##name## _exception_class_entry
23 extern zend_class_entry
*PHP_HTTP_EX_DEF_CE
;
24 extern zend_class_entry
*PHP_HTTP_EX_CE(runtime
);
25 extern zend_class_entry
*PHP_HTTP_EX_CE(header
);
26 extern zend_class_entry
*PHP_HTTP_EX_CE(malformed_headers
);
27 extern zend_class_entry
*PHP_HTTP_EX_CE(request_method
);
28 extern zend_class_entry
*PHP_HTTP_EX_CE(message
);
29 extern zend_class_entry
*PHP_HTTP_EX_CE(message_type
);
30 extern zend_class_entry
*PHP_HTTP_EX_CE(invalid_param
);
31 extern zend_class_entry
*PHP_HTTP_EX_CE(encoding
);
32 extern zend_class_entry
*PHP_HTTP_EX_CE(request
);
33 extern zend_class_entry
*PHP_HTTP_EX_CE(request_pool
);
34 extern zend_class_entry
*PHP_HTTP_EX_CE(socket
);
35 extern zend_class_entry
*PHP_HTTP_EX_CE(response
);
36 extern zend_class_entry
*PHP_HTTP_EX_CE(url
);
37 extern zend_class_entry
*PHP_HTTP_EX_CE(querystring
);
38 extern zend_class_entry
*PHP_HTTP_EX_CE(cookie
);
39 extern zend_function_entry php_http_exception_method_entry
[];
41 PHP_HTTP_API zend_class_entry
*php_http_exception_get_default(void);
42 PHP_HTTP_API zend_class_entry
*php_http_exception_get_for_code(long code
);
44 PHP_MINIT_FUNCTION(http_exception
);
53 * vim600: noet sw=4 ts=4 fdm=marker
54 * vim<600: noet sw=4 ts=4