1 /* vi: set sw=4 ts=4: */
3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
9 archive_handle_t
* FAST_FUNC
init_handle(void)
11 archive_handle_t
*archive_handle
;
13 /* Initialize default values */
14 archive_handle
= xzalloc(sizeof(archive_handle_t
));
15 archive_handle
->file_header
= xzalloc(sizeof(file_header_t
));
16 archive_handle
->action_header
= header_skip
;
17 archive_handle
->action_data
= data_skip
;
18 archive_handle
->filter
= filter_accept_all
;
19 archive_handle
->seek
= seek_by_jump
;
21 return archive_handle
;