From: Michael Wallner Date: Tue, 26 Apr 2005 15:41:37 +0000 (+0000) Subject: - http_ob_etaghandler() belongs to the cache_api now X-Git-Tag: RELEASE_0_8_0~54 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9d0eaae0af2de89a57be321c507e5a9956ba99f9;p=m6w6%2Fext-http - http_ob_etaghandler() belongs to the cache_api now --- diff --git a/php_http_api.h b/php_http_api.h index b657222..105f3d1 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -37,9 +37,6 @@ extern void _http_error_ex(long type, long code, const char *format, ...); #define http_get_server_var_ex(v, s) _http_get_server_var_ex((v), (s), 0 TSRMLS_CC) PHP_HTTP_API zval *_http_get_server_var_ex(const char *key, size_t key_size, zend_bool check TSRMLS_DC); -#define http_ob_etaghandler(o, l, ho, hl, m) _http_ob_etaghandler((o), (l), (ho), (hl), (m) TSRMLS_CC) -PHP_HTTP_API void _http_ob_etaghandler(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode TSRMLS_DC); - #define http_chunked_decode(e, el, d, dl) _http_chunked_decode((e), (el), (d), (dl) TSRMLS_CC) PHP_HTTP_API STATUS _http_chunked_decode(const char *encoded, size_t encoded_len, char **decoded, size_t *decoded_len TSRMLS_DC); diff --git a/php_http_cache_api.h b/php_http_cache_api.h index 30074cd..0a93f68 100644 --- a/php_http_cache_api.h +++ b/php_http_cache_api.h @@ -44,6 +44,9 @@ PHP_HTTP_API STATUS _http_cache_etag(const char *etag, size_t etag_len, const ch #define http_cache_exit() _http_cache_exit(TSRMLS_C) PHP_HTTP_API STATUS _http_cache_exit(TSRMLS_D); +#define http_ob_etaghandler(o, l, ho, hl, m) _http_ob_etaghandler((o), (l), (ho), (hl), (m) TSRMLS_CC) +PHP_HTTP_API void _http_ob_etaghandler(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode TSRMLS_DC); + #endif /*