- drop mhash support
[m6w6/ext-http] / php_http.h
index b62777ee4f93552c0d2d4c443f1e1270bbd85f54..2f0eadedf7d4247a22be9a8692deb6a3d02da175 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef PHP_EXT_HTTP_H
 #define PHP_EXT_HTTP_H
 
-#define HTTP_PEXT_VERSION "0.18.0dev"
+#define HTTP_PEXT_VERSION "0.18.1"
 
 /* make compile on Win32 */
 #ifdef HTTP_HAVE_CURL
@@ -35,7 +35,7 @@ extern int http_module_number;
 ZEND_BEGIN_MODULE_GLOBALS(http)
 
        struct _http_globals_etag {
-               long mode;
+               char *mode;
                void *ctx;
                zend_bool started;
        } etag;
@@ -98,6 +98,7 @@ PHP_FUNCTION(http_date);
 PHP_FUNCTION(http_build_uri);
 PHP_FUNCTION(http_negotiate_language);
 PHP_FUNCTION(http_negotiate_charset);
+PHP_FUNCTION(http_negotiate_content_type);
 PHP_FUNCTION(http_redirect);
 PHP_FUNCTION(http_throttle);
 PHP_FUNCTION(http_send_status);