Lines Matching defs:archive_handle
28 archive_handle_t *archive_handle;
33 archive_handle = init_handle();
34 archive_handle->src_fd = STDIN_FILENO;
35 archive_handle->seek = seek_by_read;
36 archive_handle->flags = ARCHIVE_EXTRACT_NEWER | ARCHIVE_PRESERVE_DATE;
50 archive_handle->action_header = header_list;
53 archive_handle->action_data = data_extract_all;
56 archive_handle->flags |= ARCHIVE_EXTRACT_UNCONDITIONAL;
57 archive_handle->flags &= ~ARCHIVE_EXTRACT_NEWER;
60 if (archive_handle->action_header == header_list) {
61 archive_handle->action_header = header_verbose_list;
63 archive_handle->action_header = header_list;
67 archive_handle->src_fd = xopen(cpio_filename, O_RDONLY);
68 archive_handle->seek = seek_by_jump;
71 archive_handle->flags |= ARCHIVE_CREATE_LEADING_DIRS;
75 archive_handle->filter = filter_accept_list;
76 llist_add_to(&(archive_handle->accept), argv[optind]);
80 while (get_header_cpio(archive_handle) == EXIT_SUCCESS);