huffman/inc/compress.h

15 lines
286 B
C

#ifndef __IN303_COMPRESS_H__
#define __IN303_COMPRESS_H__
#include "huftree.h"
#define COMPRESS_OK 0
#define COMPRESS_READ_ERROR 1
#define COMPRESS_WRITE_ERROR 2
#define COMPRESS_OPEN_INPUT_ERROR 3
#define COMPRESS_OPEN_OUTPUT_ERROR 4
int compress(const char*, const char*);
#endif