X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_deflatestream_object.h;fp=php_http_deflatestream_object.h;h=0000000000000000000000000000000000000000;hp=3d20328f43adaf13c2db9ab7e634682875b6f3a7;hb=87db9817d428282792c8146d9c2ae9748ebf6f1e;hpb=7a5c865f6faf8b1b6c91735e9d3b040449ea74ba;ds=sidebyside diff --git a/php_http_deflatestream_object.h b/php_http_deflatestream_object.h deleted file mode 100644 index 3d20328..0000000 --- a/php_http_deflatestream_object.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - +--------------------------------------------------------------------+ - | PECL :: http | - +--------------------------------------------------------------------+ - | Redistribution and use in source and binary forms, with or without | - | modification, are permitted provided that the conditions mentioned | - | in the accompanying LICENSE file are met. | - +--------------------------------------------------------------------+ - | Copyright (c) 2004-2010, Michael Wallner | - +--------------------------------------------------------------------+ -*/ - -/* $Id$ */ - -#ifndef PHP_HTTP_DEFLATESTREAM_OBJECT_H -#define PHP_HTTP_DEFLATESTREAM_OBJECT_H -#ifdef HTTP_HAVE_ZLIB -#ifdef ZEND_ENGINE_2 - -typedef struct _http_deflatestream_object_t { - zend_object zo; - http_encoding_stream *stream; -} http_deflatestream_object; - -extern zend_class_entry *http_deflatestream_object_ce; -extern zend_function_entry http_deflatestream_object_fe[]; - -extern PHP_MINIT_FUNCTION(http_deflatestream_object); - -#define http_deflatestream_object_new(ce) _http_deflatestream_object_new((ce) TSRMLS_CC) -extern zend_object_value _http_deflatestream_object_new(zend_class_entry *ce TSRMLS_DC); -#define http_deflatestream_object_new_ex(ce, s, ptr) _http_deflatestream_object_new_ex((ce), (s), (ptr) TSRMLS_CC) -extern zend_object_value _http_deflatestream_object_new_ex(zend_class_entry *ce, http_encoding_stream *s, http_deflatestream_object **ptr TSRMLS_DC); -#define http_deflatestream_object_clone(zobj) _http_deflatestream_object_clone_obj(zobj TSRMLS_CC) -extern zend_object_value _http_deflatestream_object_clone_obj(zval *object TSRMLS_DC); -#define http_deflatestream_object_free(o) _http_deflatestream_object_free((o) TSRMLS_CC) -extern void _http_deflatestream_object_free(zend_object *object TSRMLS_DC); - -PHP_METHOD(HttpDeflateStream, __construct); -PHP_METHOD(HttpDeflateStream, factory); -PHP_METHOD(HttpDeflateStream, update); -PHP_METHOD(HttpDeflateStream, flush); -PHP_METHOD(HttpDeflateStream, finish); - -#endif -#endif -#endif - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * End: - * vim600: noet sw=4 ts=4 fdm=marker - * vim<600: noet sw=4 ts=4 - */ -