busybox/archival/libarchive/header_list.c
<<
>>
Prefs
   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 "bb_archive.h"
   7
   8void 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}
  13