ia64/xen-unstable

view tools/xfrd/lzi_stream.h @ 1921:24ecc060e9d7

bitkeeper revision 1.1108.21.1 (41062740xHG36OEbpVAmVX5N9WCaNw)

make vmlinuz really stripped
author cl349@freefall.cl.cam.ac.uk
date Tue Jul 27 09:58:24 2004 +0000 (2004-07-27)
parents 0e23f01219c6
children
line source
1 /*
2 * Copyright (C) 2003 Hewlett-Packard Company.
3 *
4 * This library is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
19 #ifndef _XUTIL_LZI_STREAM_H_
20 #define _XUTIL_LZI_STREAM_H_
22 #ifndef __KERNEL__
23 #include "iostream.h"
25 extern IOStream *lzi_stream_new(IOStream *io, const char *mode);
26 extern IOStream *lzi_stream_fopen(const char *file, const char *mode);
27 extern IOStream *lzi_stream_fdopen(int fd, const char *mode);
28 extern IOStream *lzi_stream_io(IOStream *zio);
30 extern int lzi_stream_plain_bytes(IOStream *io);
31 extern int lzi_stream_comp_bytes(IOStream *io);
32 extern float lzi_stream_ratio(IOStream *io);
34 #endif
35 #endif /* !_XUTIL_LZI_STREAM_H_ */