From 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 24 Jan 2010 23:50:54 +0200 Subject: Add initial version of xz --list. This is a bit rough but should be useful for basic things. Ideas (with detailed examples) about the output format are welcome. The output of --robot --list is not necessarily stable yet, although I don't currently have any plans about changing it. The man page hasn't been updated yet. --- src/xz/list.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/xz/list.h (limited to 'src/xz/list.h') diff --git a/src/xz/list.h b/src/xz/list.h new file mode 100644 index 00000000..a4c6ec7d --- /dev/null +++ b/src/xz/list.h @@ -0,0 +1,18 @@ +/////////////////////////////////////////////////////////////////////////////// +// +/// \file list.h +/// \brief List information about .xz files +// +// Author: Lasse Collin +// +// This file has been put into the public domain. +// You can do whatever you want with this file. +// +/////////////////////////////////////////////////////////////////////////////// + +/// \brief List information about the given .xz file +extern void list_file(const char *filename); + + +/// \brief Show the totals after all files have been listed +extern void list_totals(void); -- cgit v1.2.3