X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=2ad3168f805dfa05f4b0999acab13e82e95f15c7;hp=94ed04e92afd9df72607be3b1b4bdcf684f65d8b;hb=25f0c16244fc5f8b2c9d9bfddab8a541d2521789;hpb=29a54250b58e444974ae19840194e214cab80bd5 diff --git a/php_http.h b/php_http.h index 94ed04e..2ad3168 100644 --- a/php_http.h +++ b/php_http.h @@ -13,21 +13,13 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_HTTP_EXT_VERSION "2.0.0dev" +#define PHP_HTTP_EXT_VERSION "2.0.0beta3" -extern zend_module_entry http_module_entry; +zend_module_entry http_module_entry; #define phpext_http_ptr &http_module_entry -extern int http_module_number; - -#if PHP_DEBUG -# define _DPF_STR 0 -# define _DPF_IN 1 -# define _DPF_OUT 2 -extern void _dpf(int type, const char *data, size_t length); -#else -# define _dpf(t,s,l); -#endif +int http_module_number; +void php_http_register_class(zend_class_entry *(*get_ce)(void)); #endif /* PHP_EXT_HTTP_H */