#include "util.h"
#include <zlib.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Like getline, but read from a gzFile. Allocation is with talloc.
* Returns:
*
const char *
gz_error_string (util_status_t status, gzFile stream);
+
+/* Call gzerror with a dummy errno argument, the docs don't promise to
+ * support the NULL case */
+const char *
+gzerror_str (gzFile file);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif