X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_url.h;h=f53accf6d09663833ffe2b9a6a917b63fc8359cc;hp=6ae0ac38af2b081d9967b1876b544e25fac0146c;hb=d5f3f3f2917a257a39a6b8893c6ae203b3dda3df;hpb=a5e66b221dbf5a52cc770f4d7f46f05fe88784ba diff --git a/src/php_http_url.h b/src/php_http_url.h index 6ae0ac3..f53accf 100644 --- a/src/php_http_url.h +++ b/src/php_http_url.h @@ -13,7 +13,7 @@ #ifndef PHP_HTTP_URL_H #define PHP_HTTP_URL_H -#include +#include "ext/standard/url.h" /* php_http_url_mod() */ #define PHP_HTTP_URL_REPLACE 0x000 @@ -83,7 +83,8 @@ static inline zend_bool php_http_url_is_empty(const php_http_url_t *url) { return !(url->scheme || url->pass || url->user || url->host || url->port || url->path || url->query || url->fragment); } -PHP_HTTP_API zend_class_entry *php_http_url_class_entry; +PHP_HTTP_API zend_class_entry *php_http_url_get_class_entry(void); +PHP_HTTP_API zend_class_entry *php_http_get_env_url_class_entry(void); PHP_MINIT_FUNCTION(http_url); #define php_http_url_object_new php_http_object_new