cgzip.h

00001 /*
00002  * Copyright (c) 2005-2012 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: cgzip.h,v 1.7 2006/01/09 12:38:37 tat Exp $
00009  */
00010 
00011 #ifndef _KLONE_CODEC_GZIP_H_
00012 #define _KLONE_CODEC_GZIP_H_
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif 
00017 
00018 /* the codec [un]compresses (using libz) the stream to whom it's applied */
00019 
00020 /* possibile values for io_gzip_create */
00021 enum { GZIP_COMPRESS, GZIP_UNCOMPRESS };
00022 
00023 int codec_gzip_create(int operation, codec_t **pioz);
00024 
00025 #ifdef __cplusplus
00026 }
00027 #endif 
00028 
00029 #endif

←Products
Copyright © 2005-2012 - KoanLogic S.r.l. - All rights reserved