aboutsummaryrefslogtreecommitdiff
path: root/bin/sqfs2tar/options.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-06-26 22:51:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-08 19:17:35 +0200
commit359d71e90050a8b83f7bc7d2ecd4ff29c477cc22 (patch)
treedf2b7a585b78e6776446d4ca9be62a22db27f0a7 /bin/sqfs2tar/options.c
parent2087cc237cd0fe1ed29ebf891648bacb46f4833b (diff)
Cleanup: rename libfstream to libio, split headers
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/sqfs2tar/options.c')
-rw-r--r--bin/sqfs2tar/options.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/sqfs2tar/options.c b/bin/sqfs2tar/options.c
index 1b652b5..4f783e0 100644
--- a/bin/sqfs2tar/options.c
+++ b/bin/sqfs2tar/options.c
@@ -91,14 +91,14 @@ void process_args(int argc, char **argv)
switch (i) {
case 'c':
- compressor = fstream_compressor_id_from_name(optarg);
+ compressor = io_compressor_id_from_name(optarg);
if (compressor <= 0) {
fprintf(stderr, "unknown compressor '%s'.\n",
optarg);
goto fail;
}
- if (!fstream_compressor_exists(compressor)) {
+ if (!io_compressor_exists(compressor)) {
fprintf(stderr,
"%s compressor is not supported.\n",
optarg);
@@ -163,11 +163,11 @@ void process_args(int argc, char **argv)
case 'h':
fputs(usagestr, stdout);
- i = FSTREAM_COMPRESSOR_MIN;
+ i = IO_COMPRESSOR_MIN;
- while (i <= FSTREAM_COMPRESSOR_MAX) {
- name = fstream_compressor_name_from_id(i);
- if (fstream_compressor_exists(i))
+ while (i <= IO_COMPRESSOR_MAX) {
+ name = io_compressor_name_from_id(i);
+ if (io_compressor_exists(i))
printf("\t%s\n", name);
++i;
}