mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 11:26:48 -05:00
Allow to change the output format
The new test option allows to restore the past behaviour, just in case...
This commit is contained in:
parent
97c01d35f4
commit
faa530e83e
7 changed files with 102 additions and 17 deletions
|
|
@ -186,7 +186,6 @@ void msg_verbose(const char* format, ...) __attribute__((format(attribute_printf
|
|||
*/
|
||||
void msg_flush(void);
|
||||
|
||||
|
||||
/****************************************************************************/
|
||||
/* print */
|
||||
|
||||
|
|
@ -229,7 +228,11 @@ const char* esc_tag(const char* str, char* buffer);
|
|||
*
|
||||
* \param buffer Preallocated buffer of ESC_MAX size.
|
||||
*/
|
||||
const char* esc_shell(const char* str, char* buffer);
|
||||
const char* esc_shell_multi(const char** str_map, unsigned str_max, char* buffer);
|
||||
static inline const char* esc_shell(const char* str, char* buffer)
|
||||
{
|
||||
return esc_shell_multi(&str, 1, buffer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Polish a string.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue