94ed04e92afd9df72607be3b1b4bdcf684f65d8b
[m6w6/ext-http] / php_http.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-2011, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_EXT_HTTP_H
14 #define PHP_EXT_HTTP_H
15
16 #define PHP_HTTP_EXT_VERSION "2.0.0dev"
17
18 extern zend_module_entry http_module_entry;
19 #define phpext_http_ptr &http_module_entry
20
21 extern int http_module_number;
22
23 #if PHP_DEBUG
24 # define _DPF_STR 0
25 # define _DPF_IN 1
26 # define _DPF_OUT 2
27 extern void _dpf(int type, const char *data, size_t length);
28 #else
29 # define _dpf(t,s,l);
30 #endif
31
32 #endif /* PHP_EXT_HTTP_H */
33
34 /*
35 * Local variables:
36 * tab-width: 4
37 * c-basic-offset: 4
38 * End:
39 * vim600: noet sw=4 ts=4 fdm=marker
40 * vim<600: noet sw=4 ts=4
41 */
42