summaryrefslogtreecommitdiff
path: root/ext/solv_xfopen.h
blob: aa8740e8ad6c51f3dcdb1c60a80a203d79be8167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2009-2012, Novell Inc.
 *
 * This program is licensed under the BSD license, read LICENSE.BSD
 * for further information
 */

#ifndef SOLV_XFOPEN_H
#define SOLV_XFOPEN_H

extern FILE *solv_xfopen(const char *fn, const char *mode);
extern FILE *solv_xfopen_fd(const char *fn, int fd, const char *mode);
extern FILE *solv_xfopen_buf(const char *fn, char **bufp, size_t *buflp, const char *mode);
extern int   solv_xfopen_iscompressed(const char *fn);

#endif