/* DO NOT EDIT THIS FILE - it is machine generated */
#include <native.h>

#ifndef _Included_java_util_zip_Deflater
#define _Included_java_util_zip_Deflater

#ifdef __cplusplus
extern "C" {
#endif

/* Header for class java_util_zip_Deflater */

typedef struct Classjava_util_zip_Deflater {
  jint strm;
  HArrayOfByte* buf;
  jint off;
  jint len;
  jint level;
  jint strategy;
  jbool setParams;
  jbool finish;
  jbool finished;
#define java_util_zip_Deflater_DEFLATED 8
#define java_util_zip_Deflater_NO_COMPRESSION 0
#define java_util_zip_Deflater_BEST_SPEED 1
#define java_util_zip_Deflater_BEST_COMPRESSION 9
#define java_util_zip_Deflater_DEFAULT_COMPRESSION -1
#define java_util_zip_Deflater_FILTERED 1
#define java_util_zip_Deflater_HUFFMAN_ONLY 2
#define java_util_zip_Deflater_DEFAULT_STRATEGY 0
} Classjava_util_zip_Deflater;
HandleTo(java_util_zip_Deflater);

extern void java_util_zip_Deflater_setDictionary(struct Hjava_util_zip_Deflater*, HArrayOfByte*, jint, jint);
extern jint java_util_zip_Deflater_deflate(struct Hjava_util_zip_Deflater*, HArrayOfByte*, jint, jint);
extern jint java_util_zip_Deflater_getAdler(struct Hjava_util_zip_Deflater*);
extern jint java_util_zip_Deflater_getTotalIn(struct Hjava_util_zip_Deflater*);
extern jint java_util_zip_Deflater_getTotalOut(struct Hjava_util_zip_Deflater*);
extern void java_util_zip_Deflater_reset(struct Hjava_util_zip_Deflater*);
extern void java_util_zip_Deflater_end(struct Hjava_util_zip_Deflater*);
extern void java_util_zip_Deflater_init(struct Hjava_util_zip_Deflater*, jbool);

#ifdef __cplusplus
}
#endif

#endif
