Searched refs:infun (Results 1 - 2 of 2) sorted by relevance
/third_party/zlib/contrib/blast/ |
H A D | blast.c | 43 blast_in infun; /* input function provided by user */ member 44 void *inhow; /* opaque information passed to infun() */ 80 s->left = s->infun(s->inhow, &(s->in)); in bits() 164 s->left = s->infun(s->inhow, &(s->in)); in decode() 383 int blast(blast_in infun, void *inhow, blast_out outfun, void *outhow, in blast() argument 390 s.infun = infun; in blast()
|
H A D | blast.h | 45 int blast(blast_in infun, void *inhow, blast_out outfun, void *outhow, 47 /* Decompress input to output using the provided infun() and outfun() calls. 53 * The input function is invoked: len = infun(how, &buf), where buf is set by 54 * infun() to point to the input buffer, and infun() returns the number of 55 * available bytes there. If infun() returns zero, then blast() returns with 57 * use by the application to pass an input descriptor to infun(), if desired. 60 * then the *left bytes at *in are consumed for input before infun() is used.
|
Completed in 2 milliseconds