Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
dictionary.h File Reference
#include <brotli/port.h>
#include <brotli/types.h>

Go to the source code of this file.

Data Structures

struct  BrotliDictionary
 

Macros

#define BROTLI_MIN_DICTIONARY_WORD_LENGTH   4
 
#define BROTLI_MAX_DICTIONARY_WORD_LENGTH   24
 

Typedefs

typedef struct BrotliDictionary BrotliDictionary
 

Functions

BROTLI_COMMON_API const BrotliDictionaryBrotliGetDictionary (void)
 
BROTLI_COMMON_API void BrotliSetDictionaryData (const uint8_t *data)
 

Macro Definition Documentation

◆ BROTLI_MAX_DICTIONARY_WORD_LENGTH

#define BROTLI_MAX_DICTIONARY_WORD_LENGTH   24

◆ BROTLI_MIN_DICTIONARY_WORD_LENGTH

#define BROTLI_MIN_DICTIONARY_WORD_LENGTH   4

Typedef Documentation

◆ BrotliDictionary

typedef struct BrotliDictionary BrotliDictionary

Function Documentation

◆ BrotliGetDictionary()

BROTLI_COMMON_API const BrotliDictionary * BrotliGetDictionary ( void )

◆ BrotliSetDictionaryData()

BROTLI_COMMON_API void BrotliSetDictionaryData ( const uint8_t * data)

Sets dictionary data.

When dictionary data is already set / present, this method is no-op.

Dictionary data MUST be provided before BrotliGetDictionary is invoked. This method is used ONLY in multi-client environment (e.g. C + Java), to reduce storage by sharing single dictionary between implementations.