#include "state.h"
#include <stdlib.h>
#include <brotli/types.h>
#include "../common/dictionary.h"
#include "huffman.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
BROTLI_BOOL BrotliDecoderStateInit(BrotliDecoderState* s,
brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) { … }
void BrotliDecoderStateMetablockBegin(BrotliDecoderState* s) { … }
void BrotliDecoderStateCleanupAfterMetablock(BrotliDecoderState* s) { … }
#ifdef BROTLI_REPORTING
void BrotliDecoderOnFinish(const BrotliDecoderState* s);
#define BROTLI_DECODER_ON_FINISH …
#else
#if !defined(BROTLI_DECODER_ON_FINISH)
#define BROTLI_DECODER_ON_FINISH(s) …
#endif
#endif
void BrotliDecoderStateCleanup(BrotliDecoderState* s) { … }
BROTLI_BOOL BrotliDecoderHuffmanTreeGroupInit(BrotliDecoderState* s,
HuffmanTreeGroup* group, brotli_reg_t alphabet_size_max,
brotli_reg_t alphabet_size_limit, brotli_reg_t ntrees) { … }
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif