X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_persistent_handle_api.h;h=27d640f314e5b222c978c0b20ff66c94a267235d;hp=661c8e13f2eea449337d069680b8c1a74393a103;hb=accf1817e811a7edabd687ef6105983f39f13942;hpb=fa6e9a361695e1c273266c79d0d27ff19059bb8a diff --git a/php_http_persistent_handle_api.h b/php_http_persistent_handle_api.h index 661c8e1..27d640f 100644 --- a/php_http_persistent_handle_api.h +++ b/php_http_persistent_handle_api.h @@ -30,9 +30,9 @@ PHP_HTTP_API STATUS _http_persistent_handle_provide_ex(const char *name_str, siz #define http_persistent_handle_cleanup_ex(n, l) _http_persistent_handle_cleanup_ex((n), (l)) PHP_HTTP_API void _http_persistent_handle_cleanup_ex(const char *name_str, size_t name_len); -#define http_persistent_handle_statall(n, c) _http_persistent_handle_statall_ex((n), (c), 0) -#define http_persistent_handle_statall_ex(n, c, p) _http_persistent_handle_statall_ex((n), (c), (p)) -PHP_HTTP_API int _http_persistent_handle_statall_ex(char ***names, int **counts, int persistent); +#define http_persistent_handle_statall() _http_persistent_handle_statall_ex(NULL) +#define http_persistent_handle_statall_ex(ht) _http_persistent_handle_statall_ex((ht)) +PHP_HTTP_API HashTable *_http_persistent_handle_statall_ex(HashTable *ht); #define http_persistent_handle_acquire(n, h) _http_persistent_handle_acquire_ex((n), strlen(n), (h)) #define http_persistent_handle_acquire_ex(n, l, h) _http_persistent_handle_acquire_ex((n), (l), (h))