Ruby: ext/zlib/zlib-1.2.13/contrib/puff/puff.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros | Functions
puff.h File Reference

Go to the source code of this file.

## Macros
#define | NIL ((unsigned char *)0) /* for no output option */

## Functions
int | puff (unsigned char *dest, unsigned long *destlen, const unsigned char *source, unsigned long *sourcelen)

## Macro Definition Documentation

## ◆ NIL

#define NIL ((unsigned char *)0) /* for no output option */

Definition at line 29 of file puff.h.

## Function Documentation

## ◆ puff()

int puff | ( | unsigned char * | dest,
|  | unsigned long * | destlen,
|  | const unsigned char * | source,
|  | unsigned long * | sourcelen
| ) |  |

Definition at line 793 of file puff.c.

References state::bitbuf, state::bitcnt, bits(), dynamic(), state::env, err, fixed(), state::in, state::incnt, state::inlen, last, state::out, state::outcnt, state::outlen, and stored().

Referenced by main().