Merging upstream version 1.13~rc1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f40403d840
commit
95e3ee3bd3
29 changed files with 472 additions and 517 deletions
4
rc.h
4
rc.h
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue