/*
    This file was generated by the command

       cfunctions huffman.c

    at 09:19:05 on Wednesday 22 February 2017, local time.
*/
#ifndef CFH_HUFFMAN_H
#define CFH_HUFFMAN_H

/* From 'huffman.c': */

#line 18 "huffman.c"

#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#define NOIGNORE __attribute__ ((warn_unused_result))

#else
#define UNUSED
#define NOIGNORE

#endif /* def __GNUC__ */
typedef enum 
{
    huffman_status_ok,
    huffman_status_memory_failure,
    huffman_status_null_pointer,
    huffman_status_bounds,
    huffman_status_read_error,
}
huffman_status_t;

#line 903 "huffman.c"
huffman_status_t NOIGNORE huffman_encode_memory (const unsigned char *bufin , unsigned int bufinlen , unsigned char **pbufout , unsigned int *pbufoutlen );

#line 947 "huffman.c"
huffman_status_t NOIGNORE huffman_decode_memory (const unsigned char *bufin , unsigned int bufinlen , unsigned char **pbufout , unsigned int *pbufoutlen );

#endif /* CFH_HUFFMAN_H */
