X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_cache_api.h;h=e420963f0301b67cb4a5dccd3fea752c1ea9fdb3;hb=52affd69e8de1f018146eef6fe5b60d2f1801294;hp=30074cd2170e8e6834d296707b9162e8ec071bcf;hpb=2b7331c5fdb73cb48f7f60a8e4ec88766581ced3;p=m6w6%2Fext-http diff --git a/php_http_cache_api.h b/php_http_cache_api.h index 30074cd..e420963 100644 --- a/php_http_cache_api.h +++ b/php_http_cache_api.h @@ -19,6 +19,7 @@ #define PHP_HTTP_CACHE_API_H #include "php_http_std_defs.h" +#include "php_http_api.h" #include "php_http_send_api.h" #define http_etag(p, l, m) _http_etag((p), (l), (m) TSRMLS_CC) @@ -41,8 +42,8 @@ PHP_HTTP_API STATUS _http_cache_last_modified(time_t last_modified, time_t send_ #define http_cache_etag(e, el, cc, ccl) _http_cache_etag((e), (el), (cc), (ccl) TSRMLS_CC) PHP_HTTP_API STATUS _http_cache_etag(const char *etag, size_t etag_len, const char *cache_control, size_t cc_len TSRMLS_DC); -#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