summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2002-11-05 02:56:57 +0000
committerGlenn L McGrath2002-11-05 02:56:57 +0000
commit7f2a95319b640d8a40e370352cc4a8d8b8d63e0e (patch)
tree4a3208eb2fd77b946ccedaff5de898f877eb36cc /include
parent18bbca18acf229875f2bb60cc37c3e8c22d237bc (diff)
downloadbusybox-7f2a95319b640d8a40e370352cc4a8d8b8d63e0e.zip
busybox-7f2a95319b640d8a40e370352cc4a8d8b8d63e0e.tar.gz
Fail silently if a partial tar header is read as tar.bz2 is leaving trailing junk (not sure why), add some missing files
Diffstat (limited to 'include')
-rw-r--r--include/unarchive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h
index 18bf089..b4e8e63 100644
--- a/include/unarchive.h
+++ b/include/unarchive.h
@@ -91,6 +91,7 @@ extern void check_trailer_gzip(int src_fd);
extern char get_header_ar(archive_handle_t *archive_handle);
extern char get_header_tar(archive_handle_t *archive_handle);
+extern char get_header_tar_bz2(archive_handle_t *archive_handle);
extern char get_header_tar_gz(archive_handle_t *archive_handle);
extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount);
@@ -108,6 +109,7 @@ extern const llist_t *find_list_entry(const llist_t *list, const char *filename)
extern ssize_t read_bz2(int fd, void *buf, size_t count);
extern void BZ2_bzReadOpen(int fd, void *unused, int nUnused);
+extern void BZ2_bzReadClose(void);
extern unsigned char uncompressStream(int src_fd, int dst_fd);
#endif