* simplify HTTPi_Response::send() a lot
[m6w6/ext-http] / php_http.h
index 86cedff125881f4e4c9617b060e1e3714927f84a..731f0adfe94bc749060dbffa06a96117e0a970b9 100644 (file)
@@ -45,6 +45,8 @@ PHP_METHOD(HTTPi, negotiateCharset);
 PHP_METHOD(HTTPi, redirect);
 PHP_METHOD(HTTPi, sendStatus);
 PHP_METHOD(HTTPi, sendLastModified);
+PHP_METHOD(HTTPi, sendContentType);
+PHP_METHOD(HTTPi, sendContentDisposition);
 PHP_METHOD(HTTPi, matchModified);
 PHP_METHOD(HTTPi, matchEtag);
 PHP_METHOD(HTTPi, cacheLastModified);
@@ -76,14 +78,14 @@ PHP_METHOD(HTTPi_Response, getCache);
 PHP_METHOD(HTTPi_Response, setCacheControl);
 PHP_METHOD(HTTPi_Response, getCacheControl);
 PHP_METHOD(HTTPi_Response, setGzip);
-PHP_METHOD(HTTPi_Response, getGzip);/*
+PHP_METHOD(HTTPi_Response, getGzip);
 PHP_METHOD(HTTPi_Response, setData);
 PHP_METHOD(HTTPi_Response, getData);
 PHP_METHOD(HTTPi_Response, setFile);
 PHP_METHOD(HTTPi_Response, getFile);
 PHP_METHOD(HTTPi_Response, setStream);
 PHP_METHOD(HTTPi_Response, getStream);
-PHP_METHOD(HTTPi_Response, send);*/
+PHP_METHOD(HTTPi_Response, send);
 
 #endif /* ZEND_ENGINE_2 */
 
@@ -95,12 +97,12 @@ PHP_FUNCTION(http_negotiate_charset);
 PHP_FUNCTION(http_redirect);
 PHP_FUNCTION(http_send_status);
 PHP_FUNCTION(http_send_last_modified);
+PHP_FUNCTION(http_send_content_type);
+PHP_FUNCTION(http_send_content_disposition);
 PHP_FUNCTION(http_match_modified);
 PHP_FUNCTION(http_match_etag);
 PHP_FUNCTION(http_cache_last_modified);
 PHP_FUNCTION(http_cache_etag);
-PHP_FUNCTION(http_content_type);
-PHP_FUNCTION(http_content_disposition);
 PHP_FUNCTION(http_send_data);
 PHP_FUNCTION(http_send_file);
 PHP_FUNCTION(http_send_stream);