chromium/third_party/brotli/dec/state.c

/* Copyright 2015 Google Inc. All Rights Reserved.

   Distributed under MIT license.
   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

#include "state.h"

#include <stdlib.h>  /* free, malloc */

#include "../common/dictionary.h"
#include <brotli/types.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) {}

void BrotliDecoderStateCleanup(BrotliDecoderState* s) {}

BROTLI_BOOL BrotliDecoderHuffmanTreeGroupInit(BrotliDecoderState* s,
    HuffmanTreeGroup* group, uint32_t alphabet_size_max,
    uint32_t alphabet_size_limit, uint32_t ntrees) {}

#if defined(__cplusplus) || defined(c_plusplus)
}  /* extern "C" */
#endif