fix iso-8859-1 to utf8 transcoding bug
[platform/upstream/libsolv.git] / ext / solv_xfopen.h
index e722bf2..aa8740e 100644 (file)
@@ -1,7 +1,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