]> git.notmuchmail.org Git - notmuch/blobdiff - util/zlib-extra.h
lib: replace use of static_cast for writable databases
[notmuch] / util / zlib-extra.h
index 209fa9989437d8cf77bf9ac60c739cb9fcb47a8f..e9925c985330073398c01b53dffcf0d6e6fc208d 100644 (file)
@@ -27,6 +27,11 @@ gz_getline (void *ctx, char **lineptr, ssize_t *bytes_read, gzFile stream);
 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