header_list.c 312 B

123456789101112
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  4. */
  5. #include "libbb.h"
  6. #include "unarchive.h"
  7. void FAST_FUNC header_list(const file_header_t *file_header)
  8. {
  9. //TODO: cpio -vp DIR should output "DIR/NAME", not just "NAME" */
  10. puts(file_header->name);
  11. }