XZ Utils
5.1.0alpha
|
lzmainfo tool for compatibility with LZMA Utils More...
#include "sysdefs.h"
#include <stdio.h>
#include <errno.h>
#include "lzma.h"
#include "getopt.h"
#include "tuklib_gettext.h"
#include "tuklib_progname.h"
#include "tuklib_exit.h"
Functions | |
static void | lzma_attribute ((__noreturn__)) |
static void | parse_args (int argc, char **argv) |
Parse command line options. More... | |
static uint32_t | my_log2 (uint32_t n) |
Primitive base-2 logarithm for integers. More... | |
static bool | lzmainfo (const char *name, FILE *f) |
Parse the .lzma header and display information about it. More... | |
int | main (int argc, char **argv) |
lzmainfo tool for compatibility with LZMA Utils
|
static |
Parse command line options.
|
static |
Primitive base-2 logarithm for integers.
Referenced by lzmainfo().
|
static |
Parse the .lzma header and display information about it.
References lzma_options_lzma::dict_size, lzma_filter::id, lzma_options_lzma::lc, lzma_options_lzma::lp, LZMA_FILTER_LZMA1, LZMA_MEM_ERROR, LZMA_OK, LZMA_OPTIONS_ERROR, lzma_properties_decode(), my_log2(), lzma_filter::options, and lzma_options_lzma::pb.