blob: e38583fef75332a331ffd122706c4a4ecb752a09 [file] [log] [blame]
"Robert P. J. Day"63fc1a92006-07-02 19:47:05 +00001/* vi: set sw=4 ts=4: */
Rob Landleyc1d69902006-01-20 18:28:50 +00002/*
3 * Small lzma deflate implementation.
4 * Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
5 *
6 * Licensed under GPL v2, see file LICENSE in this tarball for details.
7 */
8
9#include "unarchive.h"
10
11char get_header_tar_lzma(archive_handle_t * archive_handle)
12{
13 /* Can't lseek over pipes */
14 archive_handle->seek = seek_by_char;
15
16 archive_handle->src_fd = open_transformer(archive_handle->src_fd, unlzma);
17 archive_handle->offset = 0;
18 while (get_header_tar(archive_handle) == EXIT_SUCCESS);
19
20 /* Can only do one file at a time */
21 return EXIT_FAILURE;
22}
23