1
0
Fork 0

Merging upstream version 1.13~rc1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 06:03:46 +01:00
parent f40403d840
commit 95e3ee3bd3
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
29 changed files with 472 additions and 517 deletions

4
rc.h
View file

@ -23,7 +23,7 @@ const char * const format_names[num_formats] =
const char * const simple_extensions[num_formats] =
{ ".bz2", ".gz", ".lz", ".xz", ".zst" };
const int format_order[num_formats] =
{ fmt_lz, fmt_bz2, fmt_gz, fmt_zst, fmt_xz }; // search order
{ fmt_lz, fmt_gz, fmt_bz2, fmt_zst, fmt_xz }; // search order
bool enabled_format( const int format_index ); // -1 == uncompressed
void parse_format_list( const std::string & arg, const char * const pn );
@ -33,7 +33,7 @@ int parse_format_type( const std::string & arg, const char * const pn,
int extension_index( const std::string & name ); // -1 if unknown
int extension_format( const int eindex ); // -1 if uncompressed
const char * extension_from( const int eindex );
const char * extension_from( const int eindex ); // -1 if uncompressed
const char * extension_to( const int eindex );
// Return format_index, or -1 if uncompressed.