X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=40ecfb43e3133926e24601ccba44c35a73ad8c7f;hp=94ed04e92afd9df72607be3b1b4bdcf684f65d8b;hb=f753226f1f45e10ef3916256ec1bc0416c8644a8;hpb=29a54250b58e444974ae19840194e214cab80bd5 diff --git a/php_http.h b/php_http.h index 94ed04e..40ecfb4 100644 --- a/php_http.h +++ b/php_http.h @@ -15,19 +15,11 @@ #define PHP_HTTP_EXT_VERSION "2.0.0dev" -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 */