- improved put support
[m6w6/ext-http] / php_http.h
index ca291374e2759e04f6efbc41a80fa53f5b2529dc..952639c87af8bc84d037a5ff3484aa2971e4c3b3 100644 (file)
@@ -41,8 +41,9 @@ ZEND_BEGIN_MODULE_GLOBALS(http)
        char *etag;
        time_t lmod;
        char *allowed_methods;
+       char *cache_log;
+
 #ifdef HTTP_HAVE_CURL
-       phpstr curlbuf;
 #      if LIBCURL_VERSION_NUM < 0x070c00
        char curlerr[CURL_ERROR_SIZE + 1];
 #      endif
@@ -82,14 +83,16 @@ PHP_FUNCTION(http_get_request_headers);
 PHP_FUNCTION(http_get);
 PHP_FUNCTION(http_head);
 PHP_FUNCTION(http_post_data);
-PHP_FUNCTION(http_post_array);
+PHP_FUNCTION(http_post_fields);
+PHP_FUNCTION(http_put_file);
+PHP_FUNCTION(http_put_stream);
 #endif /* HTTP_HAVE_CURL */
 PHP_FUNCTION(http_auth_basic);
 PHP_FUNCTION(http_auth_basic_cb);
 #ifndef ZEND_ENGINE_2
 PHP_FUNCTION(http_build_query);
 #endif /* ZEND_ENGINE_2 */
-PHP_FUNCTION(ob_httpetaghandler);
+PHP_FUNCTION(ob_etaghandler);
 
 PHP_MINIT_FUNCTION(http);
 PHP_MSHUTDOWN_FUNCTION(http);