diff options
Diffstat (limited to 'archival/libarchive/header_list.c')
-rw-r--r-- | archival/libarchive/header_list.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/archival/libarchive/header_list.c b/archival/libarchive/header_list.c new file mode 100644 index 0000000..c4fc75f --- /dev/null +++ b/archival/libarchive/header_list.c @@ -0,0 +1,12 @@ +/* vi: set sw=4 ts=4: */ +/* + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + */ +#include "libbb.h" +#include "archive.h" + +void FAST_FUNC header_list(const file_header_t *file_header) +{ +//TODO: cpio -vp DIR should output "DIR/NAME", not just "NAME" */ + puts(file_header->name); +} |