* fixed http_cache_last_modified(): if parameter was omitted, would have always sent...
[m6w6/ext-http] / php_http.h
index 1012a12536b8197f305deb446b7a76ecf3dda18a..2f2b7eef4ce732567d91ee29cd02aa99b6c72354 100644 (file)
@@ -45,7 +45,6 @@ PHP_FUNCTION(http_match_modified);
 PHP_FUNCTION(http_match_etag);
 PHP_FUNCTION(http_cache_last_modified);
 PHP_FUNCTION(http_cache_etag);
-PHP_FUNCTION(http_accept_ranges);
 PHP_FUNCTION(http_content_type);
 PHP_FUNCTION(http_content_disposition);
 PHP_FUNCTION(http_send_data);
@@ -71,6 +70,8 @@ ZEND_BEGIN_MODULE_GLOBALS(http)
        PHP_MD5_CTX etag_md5;
        php_stream_statbuf ssb;
        char *ctype;
+       char *etag;
+       time_t lmod;
 #if defined(HAVE_CURL) && HAVE_CURL
        struct {
                struct {
@@ -97,3 +98,4 @@ ZEND_END_MODULE_GLOBALS(http)
  * vim600: noet sw=4 ts=4 fdm=marker
  * vim<600: noet sw=4 ts=4
  */
+