summaryrefslogtreecommitdiffstats
path: root/stubs/bzip.c
blob: b4bfda84afa57338676f3fdbb4dd090ccda31390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* empty bzip stubs */

void * bzdopen(int fd, const char *mode) {
    return (void *) 0;
}

void * bzopen(const char * fn, const char *mode) {
    return (void *) 0;
}

const char * bzerror(void * b, int * err) {
    return (void *) 0;
}

int bzwrite(void * b, void * buf, int len) {
    return -1;
}

int bzread(void * b, void * buf, int len) {
    return -1;
}

void bzclose(void * b) {
}

int bzflush(void * b) {
    return 0;
}