/usr/include/complearn-1.0/complearn/complearn-rczlib.h is in libcomplearn1-headers 1.1.7-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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | /* Generated by GOB (v2.0.15) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
#ifndef __COMPLEARN_RCZLIB_H
#define __COMPLEARN_RCZLIB_H
#include <stdio.h>
#include <libintl.h>
#include "complearn.h"
struct ZlibDynamicAdaptorCB {
int (*compress2)(unsigned char *dbuff,unsigned long *p,
unsigned char *src, unsigned long sz, int level);
int (*uncompress)(unsigned char *dbuff,unsigned long *p, unsigned char *src, unsigned long sz);
};
#ifndef __COMPLEARN_RCZLIB_H__
#define __COMPLEARN_RCZLIB_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*
* Type checking and casting macros
*/
#define COMPLEARN_TYPE_RCZLIB (complearn_rczlib_get_type())
#define COMPLEARN_RCZLIB(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), complearn_rczlib_get_type(), CompLearnRCZLib)
#define COMPLEARN_RCZLIB_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), complearn_rczlib_get_type(), CompLearnRCZLib const)
#define COMPLEARN_RCZLIB_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), complearn_rczlib_get_type(), CompLearnRCZLibClass)
#define COMPLEARN_IS_RCZLIB(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), complearn_rczlib_get_type ())
#define COMPLEARN_RCZLIB_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), complearn_rczlib_get_type(), CompLearnRCZLibClass)
/* Private structure type */
typedef struct _CompLearnRCZLibPrivate CompLearnRCZLibPrivate;
/*
* Main object structure
*/
#ifndef __TYPEDEF_COMPLEARN_RCZLIB__
#define __TYPEDEF_COMPLEARN_RCZLIB__
typedef struct _CompLearnRCZLib CompLearnRCZLib;
#endif
struct _CompLearnRCZLib {
CompLearnRealCompressorAdaptor __parent__;
/*< private >*/
CompLearnRCZLibPrivate *_priv;
};
/*
* Class definition
*/
typedef struct _CompLearnRCZLibClass CompLearnRCZLibClass;
struct _CompLearnRCZLibClass {
CompLearnRealCompressorAdaptorClass __parent__;
};
/*
* Public methods
*/
GType complearn_rczlib_get_type (void);
gint complearn_rczlib_get_compression_level (CompLearnRCZLib * self);
void complearn_rczlib_set_compression_level (CompLearnRCZLib * self,
gint val);
GObject * complearn_rczlib_new (void);
GString * complearn_rczlib_compress (CompLearnRealCompressor * rc,
const GString * src);
GString * complearn_rczlib_decompress (CompLearnRealCompressor * rc,
const GString * src);
GString * complearn_rczlib_blurb (CompLearnRealCompressor * rc);
GString * complearn_rczlib_name (CompLearnRealCompressor * rc);
GString * complearn_rczlib_compressor_version (CompLearnRealCompressor * rc);
gboolean complearn_rczlib_is_decompressible (CompLearnRealCompressor * rc,
const GString * input);
guint64 complearn_rczlib_window_size (CompLearnRealCompressor * rc);
gboolean complearn_rczlib_is_operational (CompLearnRealCompressor * rc);
gboolean complearn_rczlib_is_threadsafe (CompLearnRealCompressor * rc);
CompLearnRealCompressor * complearn_rczlib_clone (CompLearnRealCompressor * rc);
/*
* Argument wrapping macros
*/
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define COMPLEARN_RCZLIB_PROP_COMPRESSION_LEVEL(arg) "compression_level", __extension__ ({gint z = (arg); z;})
#define COMPLEARN_RCZLIB_GET_PROP_COMPRESSION_LEVEL(arg) "compression_level", __extension__ ({gint *z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define COMPLEARN_RCZLIB_PROP_COMPRESSION_LEVEL(arg) "compression_level",(gint )(arg)
#define COMPLEARN_RCZLIB_GET_PROP_COMPRESSION_LEVEL(arg) "compression_level",(gint *)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */
#endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif
|