1 /* vi: set sw=4 ts=4: */
3 * Small lzma deflate implementation.
4 * Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
6 * Licensed under GPLv2, see file LICENSE in this source tree.
10 #include "bb_archive.h"
12 char FAST_FUNC get_header_tar_lzma(archive_handle_t *archive_handle)
14 /* Can't lseek over pipes */
15 archive_handle->seek = seek_by_read;
17 open_transformer_with_sig(archive_handle->src_fd, unpack_lzma_stream, "unlzma");
18 archive_handle->offset = 0;
19 while (get_header_tar(archive_handle) == EXIT_SUCCESS)
22 /* Can only do one file at a time */