Functions | |
char * | suffix_get_dest_name (const char *src_name) |
Get the name of the destination file. | |
void | suffix_set (const char *suffix) |
Set a custom filename suffix. |
char* suffix_get_dest_name | ( | const char * | src_name | ) |
Get the name of the destination file.
Depending on the global variable opt_mode, this tries to find a matching counterpart for src_name. If the name can be constructed, it is allocated and returned (caller must free it). On error, a message is printed and NULL is returned.
References compressed_name(), opt_mode, and uncompressed_name().
void suffix_set | ( | const char * | suffix | ) |