1 /* vi: set sw=4 ts=4: */
3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
14 #include "unarchive.h"
16 char get_header_tar_bz2(archive_handle_t *archive_handle)
18 /* Can't lseek over pipes */
19 archive_handle->seek = seek_by_read;
21 archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompressStream);
22 archive_handle->offset = 0;
23 while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;
25 /* Can only do one file at a time */