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