diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/unarchive.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 682e810d5..d8cb2a081 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
| @@ -60,8 +60,8 @@ typedef struct archive_handle_t { | |||
| 60 | /* Count the number of bytes processed */ | 60 | /* Count the number of bytes processed */ |
| 61 | off_t offset; | 61 | off_t offset; |
| 62 | 62 | ||
| 63 | /* Function that skips data: read_by_char or read_by_skip */ | 63 | /* Function that skips data */ |
| 64 | void FAST_FUNC (*seek)(const struct archive_handle_t *archive_handle, const unsigned amount); | 64 | void FAST_FUNC (*seek)(int fd, off_t amount); |
| 65 | 65 | ||
| 66 | /* Temporary storage */ | 66 | /* Temporary storage */ |
| 67 | char *buffer; | 67 | char *buffer; |
| @@ -107,8 +107,8 @@ extern char get_header_tar_gz(archive_handle_t *archive_handle) FAST_FUNC; | |||
| 107 | extern char get_header_tar_bz2(archive_handle_t *archive_handle) FAST_FUNC; | 107 | extern char get_header_tar_bz2(archive_handle_t *archive_handle) FAST_FUNC; |
| 108 | extern char get_header_tar_lzma(archive_handle_t *archive_handle) FAST_FUNC; | 108 | extern char get_header_tar_lzma(archive_handle_t *archive_handle) FAST_FUNC; |
| 109 | 109 | ||
| 110 | extern void seek_by_jump(const archive_handle_t *archive_handle, unsigned amount) FAST_FUNC; | 110 | extern void seek_by_jump(int fd, off_t amount) FAST_FUNC; |
| 111 | extern void seek_by_read(const archive_handle_t *archive_handle, unsigned amount) FAST_FUNC; | 111 | extern void seek_by_read(int fd, off_t amount) FAST_FUNC; |
| 112 | 112 | ||
| 113 | extern void data_align(archive_handle_t *archive_handle, unsigned boundary) FAST_FUNC; | 113 | extern void data_align(archive_handle_t *archive_handle, unsigned boundary) FAST_FUNC; |
| 114 | extern const llist_t *find_list_entry(const llist_t *list, const char *filename) FAST_FUNC; | 114 | extern const llist_t *find_list_entry(const llist_t *list, const char *filename) FAST_FUNC; |
