X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_etag.h;h=f208db7a48a685f1784adeaa52380a0da082e42f;hp=899ec1c5af92fc211f9c45678aebd0e3651fd2ff;hb=6116c2d8303b5301d927083af4dc763f952ab3ea;hpb=8d05291f42b3b42159b3fe91492aa4862f3d4405 diff --git a/php_http_etag.h b/php_http_etag.h index 899ec1c..f208db7 100644 --- a/php_http_etag.h +++ b/php_http_etag.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2011, Michael Wallner | + | Copyright (c) 2004-2014, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -16,13 +16,9 @@ typedef struct php_http_etag { void *ctx; char *mode; - -#ifdef ZTS - void ***ts; -#endif } php_http_etag_t; -PHP_HTTP_API php_http_etag_t *php_http_etag_init(const char *mode TSRMLS_DC); +PHP_HTTP_API php_http_etag_t *php_http_etag_init(const char *mode); PHP_HTTP_API size_t php_http_etag_update(php_http_etag_t *e, const char *data_ptr, size_t data_len); PHP_HTTP_API char *php_http_etag_finish(php_http_etag_t *e);