X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=dfd7ca58d77c7cf60d3e65cf19d997766a966a27;hp=e8d5e40fb235e02458a16553125ceaf165626e96;hb=4308cb174a56bdbca09b8a30e869eb2e751f5f9b;hpb=aacbe6aa75ca07853bf88d5b3647f67f107d1af7 diff --git a/php_http.h b/php_http.h index e8d5e40..dfd7ca5 100644 --- a/php_http.h +++ b/php_http.h @@ -13,12 +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.0beta2" -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; +int http_module_number; +void php_http_register_class(zend_class_entry *(*get_ce)(void)); #endif /* PHP_EXT_HTTP_H */