diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 721f879a4..1fab570c3 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -30,7 +30,7 @@ typedef struct file_header_t { | |||
30 | } file_header_t; | 30 | } file_header_t; |
31 | 31 | ||
32 | typedef struct archive_handle_t { | 32 | typedef struct archive_handle_t { |
33 | /* define if the header and data component should be processed */ | 33 | /* Define if the header and data component should be processed */ |
34 | char FAST_FUNC (*filter)(struct archive_handle_t *); | 34 | char FAST_FUNC (*filter)(struct archive_handle_t *); |
35 | llist_t *accept; | 35 | llist_t *accept; |
36 | /* List of files that have been rejected */ | 36 | /* List of files that have been rejected */ |
@@ -41,10 +41,10 @@ typedef struct archive_handle_t { | |||
41 | /* Contains the processed header entry */ | 41 | /* Contains the processed header entry */ |
42 | file_header_t *file_header; | 42 | file_header_t *file_header; |
43 | 43 | ||
44 | /* process the header component, e.g. tar -t */ | 44 | /* Process the header component, e.g. tar -t */ |
45 | void FAST_FUNC (*action_header)(const file_header_t *); | 45 | void FAST_FUNC (*action_header)(const file_header_t *); |
46 | 46 | ||
47 | /* process the data component, e.g. extract to filesystem */ | 47 | /* Process the data component, e.g. extract to filesystem */ |
48 | void FAST_FUNC (*action_data)(struct archive_handle_t *); | 48 | void FAST_FUNC (*action_data)(struct archive_handle_t *); |
49 | 49 | ||
50 | /* How to process any sub archive, e.g. get_header_tar_gz */ | 50 | /* How to process any sub archive, e.g. get_header_tar_gz */ |
@@ -66,7 +66,11 @@ typedef struct archive_handle_t { | |||
66 | char *buffer; | 66 | char *buffer; |
67 | 67 | ||
68 | /* Flags and misc. stuff */ | 68 | /* Flags and misc. stuff */ |
69 | unsigned char flags; | 69 | unsigned char ah_flags; |
70 | |||
71 | /* "Private" storage for archivers */ | ||
72 | // unsigned char ah_priv_inited; | ||
73 | void *ah_priv[8]; | ||
70 | 74 | ||
71 | } archive_handle_t; | 75 | } archive_handle_t; |
72 | 76 | ||