X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_etag.h;h=f208db7a48a685f1784adeaa52380a0da082e42f;hp=dd0e3d10337cde2bec8531cf6c270e0919e0a074;hb=03045a17d712ce52e0a55c7d8f2cc30b48b3a645;hpb=87db9817d428282792c8146d9c2ae9748ebf6f1e diff --git a/php_http_etag.h b/php_http_etag.h index dd0e3d1..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-2013, 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);