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 000000000..c4fc75f38 --- /dev/null +++ b/archival/libarchive/header_list.c | |||
@@ -0,0 +1,12 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | /* | ||
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | ||
4 | */ | ||
5 | #include "libbb.h" | ||
6 | #include "archive.h" | ||
7 | |||
8 | void FAST_FUNC header_list(const file_header_t *file_header) | ||
9 | { | ||
10 | //TODO: cpio -vp DIR should output "DIR/NAME", not just "NAME" */ | ||
11 | puts(file_header->name); | ||
12 | } | ||