X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_url.h;h=6d1e9d716629a17cad9aeb73da1b3318f0c957ab;hp=bbb6177617e957acb3762570bdd7c893e011e381;hb=c5c580f24e24e8032a0554a2e39e38c496144bc2;hpb=19e82c19313a12f34fd276612cb3761c31e8c046 diff --git a/php_http_url.h b/php_http_url.h index bbb6177..6d1e9d7 100644 --- a/php_http_url.h +++ b/php_http_url.h @@ -15,6 +15,8 @@ #ifndef PHP_HTTP_URL_H #define PHP_HTTP_URL_H +#include + #define PHP_HTTP_URL_REPLACE 0x000 #define PHP_HTTP_URL_JOIN_PATH 0x001 #define PHP_HTTP_URL_JOIN_QUERY 0x002 @@ -38,7 +40,7 @@ PHP_HTTP_API void php_http_url(int flags, const php_url *old_url, const php_url PHP_HTTP_API char *php_http_url_absolute(const char *url, int flags TSRMLS_DC); PHP_HTTP_API STATUS php_http_url_encode_hash(HashTable *hash, zend_bool override_argsep, char *pre_encoded_data, size_t pre_encoded_len, char **encoded_data, size_t *encoded_len TSRMLS_DC); -PHP_HTTP_API STATUS php_http_url_encode_hash_recursive(HashTable *ht, php_http_buffer *str, const char *arg_sep, size_t arg_sep_len, const char *prefix, size_t prefix_len TSRMLS_DC); +PHP_HTTP_API STATUS php_http_url_encode_hash_recursive(HashTable *ht, php_http_buffer_t *str, const char *arg_sep, size_t arg_sep_len, const char *prefix, size_t prefix_len TSRMLS_DC); static inline php_url *php_http_url_from_struct(php_url *url, HashTable *ht TSRMLS_DC) {