summaryrefslogtreecommitdiff
path: root/include/highlevel.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-05 22:32:56 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-05 22:39:45 +0200
commit40b75c24b1586e4d7ad8a9f4c14dc0b3ff99b8cd (patch)
tree94fbe2f64f7f3623ba405963b46419e5be42fab6 /include/highlevel.h
parent1e24f45ab120ea83a6faab2e4e14038547898f64 (diff)
Add a perror like function for libsquashfs error codes
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/highlevel.h')
-rw-r--r--include/highlevel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/highlevel.h b/include/highlevel.h
index 44872cf..f990fbf 100644
--- a/include/highlevel.h
+++ b/include/highlevel.h
@@ -129,4 +129,6 @@ int sqfs_writer_finish(sqfs_writer_t *sqfs, const sqfs_writer_cfg_t *cfg);
void sqfs_writer_cleanup(sqfs_writer_t *sqfs);
+void sqfs_perror(const char *file, const char *action, int error_code);
+
#endif /* HIGHLEVEL_H */