blob: c4fc75f380beecc2cc9b1b762cde0037eab16d3e [file] [log] [blame]
"Robert P. J. Day"63fc1a92006-07-02 19:47:05 +00001/* vi: set sw=4 ts=4: */
"Robert P. J. Day"801ab142006-07-12 07:56:04 +00002/*
Denys Vlasenko0ef64bd2010-08-16 20:14:46 +02003 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
"Robert P. J. Day"801ab142006-07-12 07:56:04 +00004 */
Denis Vlasenko9a7d38f2007-05-31 22:42:12 +00005#include "libbb.h"
Denys Vlasenko833d4e72010-11-03 02:38:31 +01006#include "archive.h"
Glenn L McGrath7ca04f32002-09-25 02:47:48 +00007
Denis Vlasenkodefc1ea2008-06-27 02:52:20 +00008void FAST_FUNC header_list(const file_header_t *file_header)
Glenn L McGrath7ca04f32002-09-25 02:47:48 +00009{
Denys Vlasenko93ac7d82010-01-09 19:56:15 +010010//TODO: cpio -vp DIR should output "DIR/NAME", not just "NAME" */
Glenn L McGrath7ca04f32002-09-25 02:47:48 +000011 puts(file_header->name);
12}