94 #define FILTERS_STR_SIZE 512
const lzma_allocator const uint8_t size_t in_size
const lzma_filter * filters
checking print the parsed form of the magic use in n conjunction with m to debug a new magic file n before installing it n output MIME type special files
static enum message_verbosity verbosity
Verbosity level.
const int message_progress_sigs[]
Signals used for progress message handling.
void void void void lzma_attribute((__noreturn__))
void message_bug(void) lzma_attribute((__noreturn__))
void message_verbosity_increase(void)
Increase verbosity level by one step unless it was at maximum.
void message_set_files(unsigned int files)
Set the total number of files to be processed.
message_verbosity
Verbosity levels.
@ V_WARNING
Errors and warnings.
@ V_VERBOSE
Errors, warnings, and verbose statistics.
@ V_ERROR
Only error messages.
void message_help(bool long_help) lzma_attribute((__noreturn__))
Print the help message.
void message_version(void) lzma_attribute((__noreturn__))
Prints the version number to stdout and exits with exit status SUCCESS.
void message_signal_handler(void) lzma_attribute((__noreturn__))
void message_filename(const char *src_name)
Set the name of the current file and possibly print it too.
void void void message_error(const char *fmt,...) lzma_attribute((__format__(__printf__
Prints an error message and sets exit status.
void message_mem_needed(enum message_verbosity v, uint64_t memusage)
Display how much memory was needed and how much the limit was.
void void message_warning(const char *fmt,...) lzma_attribute((__format__(__printf__
Prints a warning and possibly sets exit status.
void message_init(void)
Initializes the message functions.
void message_verbosity_decrease(void)
Decrease verbosity level by one step unless it was at minimum.
void message(enum message_verbosity verbosity, const char *fmt,...) lzma_attribute((__format__(__printf__
Print a message if verbosity level is at least "verbosity".
void message_progress_end(bool finished)
Finishes the progress message if we were in verbose mode.
void message_filters_show(enum message_verbosity v, const lzma_filter *filters)
Print the filter chain.
void message_progress_start(lzma_stream *strm, bool is_passthru, uint64_t in_size)
Start progress info handling.
void message_filters_to_str(char buf[FILTERS_STR_SIZE], const lzma_filter *filters, bool all_known)
Get the filter chain as a string.
void message_try_help(void)
Print a message that user should try –help.
void message_progress_update(void)
const char * message_strm(lzma_ret code)
Convert lzma_ret to a string.
enum message_verbosity message_verbosity_get(void)
Get the current verbosity level.
#define FILTERS_STR_SIZE
Buffer size for message_filters_to_str()
void void void void message_fatal(const char *fmt,...) lzma_attribute((__format__(__printf__
Prints an error message and exits with EXIT_ERROR.
Passing data to and from liblzma.
lzma_ret
Return values used by several functions in liblzma.