From ae26a497b6a3b9948872ee9bd41b2484b0e05c94 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 10 Apr 2017 17:18:05 +0200 Subject: Adding upstream version 1.6. Signed-off-by: Daniel Baumann --- rc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rc.h') diff --git a/rc.h b/rc.h index fa9175c..c75a36f 100644 --- a/rc.h +++ b/rc.h @@ -1,5 +1,5 @@ /* Zutils - Utilities dealing with compressed files - Copyright (C) 2009-2016 Antonio Diaz Diaz. + Copyright (C) 2009-2017 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ const char * const format_names[num_formats] = { "bz2", "gz", "lz", "xz" }; const char * const simple_extensions[num_formats] = { ".bz2", ".gz", ".lz", ".xz" }; const int format_order[num_formats] = - { fmt_lz, fmt_bz2, fmt_gz, fmt_xz }; // search order + { fmt_lz, fmt_bz2, fmt_gz, fmt_xz }; // search order bool enabled_format( const int format_index ); void parse_format_list( const std::string & arg ); @@ -49,6 +49,8 @@ void show_help_addr(); void show_version(); void show_error( const char * const msg, const int errcode = 0, const bool help = false ); +void show_file_error( const char * const filename, const char * const msg, + const int errcode = 0 ); void show_error2( const char * const msg, const char * const name ); void internal_error( const char * const msg ); void show_close_error( const char * const prog_name = "data feeder" ); -- cgit v1.2.3