/usr/include/CLucene/util/gzipinputstream.h is in libclucene-dev 2.3.3.4+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Jos van den Oever
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
------------------------------------------------------------------------------*/
#ifndef CLUENE_UTIL_GZIPINPUTSTREAM_H
#define CLUENE_UTIL_GZIPINPUTSTREAM_H
#include "CLucene/util/CLStreams.h"
struct z_stream_s;
CL_NS_DEF(util)
class CLUCENE_CONTRIBS_EXPORT GZipInputStream : public CL_NS(util)::BufferedInputStream {
public:
enum ZipFormat { ZLIBFORMAT, GZIPFORMAT, ZIPFORMAT};
private:
class Internal;
Internal* internal;
public:
_CL_DEPRECATED(Use compressed field) explicit GZipInputStream(BufferedInputStream* input,
ZipFormat format=GZIPFORMAT);
_CL_DEPRECATED(Use compressed field) explicit GZipInputStream(InputStream* input,
ZipFormat format=GZIPFORMAT);
~GZipInputStream();
int32_t read(const signed char*& start, int32_t min, int32_t max);
int32_t read(const unsigned char*& start, int32_t min, int32_t max);
int64_t position();
int64_t reset(int64_t);
int64_t skip(int64_t ntoskip);
size_t size();
void setMinBufSize(int32_t minbufsize);
};
CL_NS_END
#endif
|