9
0
Fork 0
barebox/include/uncompress.h

20 lines
464 B
C

#ifndef __UNCOMPRESS_H
#define __UNCOMPRESS_H
int uncompress(unsigned char *inbuf, int len,
int(*fill)(void*, unsigned int),
int(*flush)(void*, unsigned int),
unsigned char *output,
int *pos,
void(*error_fn)(char *x));
int uncompress_fd_to_fd(int infd, int outfd,
void(*error_fn)(char *x));
int uncompress_fd_to_buf(int infd, void *output,
void(*error_fn)(char *x));
void uncompress_err_stdout(char *);
#endif /* __UNCOMPRESS_H */