Lines Matching defs:archive_handle
10 char get_header_ar(archive_handle_t *archive_handle)
13 file_header_t *typed = archive_handle->file_header;
32 if (read(archive_handle->src_fd, ar.raw, 60) != 60) {
43 ar.raw[59] = xread_char(archive_handle->src_fd);
44 archive_handle->offset++;
46 archive_handle->offset += 60;
77 xread(archive_handle->src_fd, ar_long_names, ar_long_name_size);
78 archive_handle->offset += ar_long_name_size;
81 return get_header_ar(archive_handle); /* Return next header */
86 data_skip(archive_handle);
87 archive_handle->offset += typed->size;
88 return get_header_ar(archive_handle); /* Return next header */
108 if (archive_handle->filter(archive_handle) == EXIT_SUCCESS) {
109 archive_handle->action_header(typed);
110 if (archive_handle->sub_archive) {
111 while (archive_handle->action_data_subarchive(archive_handle->sub_archive) == EXIT_SUCCESS)
114 archive_handle->action_data(archive_handle);
117 data_skip(archive_handle);
120 archive_handle->offset += typed->size;
122 lseek(archive_handle->src_fd, archive_handle->offset, SEEK_SET);