/usr/include/CLucene/util/gzipcompressstream.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 | /*------------------------------------------------------------------------------
* 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_GZIPCOMPRESSSTREAM_H
#define CLUENE_UTIL_GZIPCOMPRESSSTREAM_H
#include "CLucene/util/CLStreams.h"
struct z_stream_s;
CL_NS_DEF(util)
class CLUCENE_CONTRIBS_EXPORT GZipCompressInputStream : public InputStream{
private:
class Internal;
Internal* internal;
public:
LUCENE_STATIC_CONSTANT(int32_t, DEFAULT_BUFFER_SIZE=4096);
_CL_DEPRECATED(Use compressed field) explicit GZipCompressInputStream(InputStream* input, int level=-1);
_CL_DEPRECATED(Use compressed field) virtual ~GZipCompressInputStream();
int32_t read(const signed 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
|