mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 09:18:31 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
19
libc/str/undeflate.h
Normal file
19
libc/str/undeflate.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_STR_UNDEFLATE_H_
|
||||
#define COSMOPOLITAN_LIBC_STR_UNDEFLATE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct DeflateState {
|
||||
uint8_t lenlens[19];
|
||||
uint32_t lencodes[19];
|
||||
uint32_t distcodes[32];
|
||||
uint32_t litcodes[288];
|
||||
uint8_t lens[288 + 32];
|
||||
};
|
||||
|
||||
ssize_t undeflate(void *output, size_t outputsize, void *input,
|
||||
size_t inputsize, struct DeflateState *ds);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_STR_UNDEFLATE_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue