diff options
Diffstat (limited to 'include/bb_archive.h')
-rw-r--r-- | include/bb_archive.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h index 2182fcc3c..ace9c8e23 100644 --- a/include/bb_archive.h +++ b/include/bb_archive.h | |||
@@ -74,8 +74,8 @@ typedef struct archive_handle_t { | |||
74 | /* Currently processed file's header */ | 74 | /* Currently processed file's header */ |
75 | file_header_t *file_header; | 75 | file_header_t *file_header; |
76 | 76 | ||
77 | /* List of symlink placeholders */ | 77 | /* List of link placeholders */ |
78 | llist_t *symlink_placeholders; | 78 | llist_t *link_placeholders; |
79 | 79 | ||
80 | /* Process the header component, e.g. tar -t */ | 80 | /* Process the header component, e.g. tar -t */ |
81 | void FAST_FUNC (*action_header)(const file_header_t *); | 81 | void FAST_FUNC (*action_header)(const file_header_t *); |
@@ -126,10 +126,10 @@ typedef struct archive_handle_t { | |||
126 | #if ENABLE_FEATURE_AR_CREATE | 126 | #if ENABLE_FEATURE_AR_CREATE |
127 | const char *ar__name; | 127 | const char *ar__name; |
128 | struct archive_handle_t *ar__out; | 128 | struct archive_handle_t *ar__out; |
129 | # if ENABLE_FEATURE_AR_LONG_FILENAMES | 129 | #endif |
130 | #if ENABLE_FEATURE_AR_LONG_FILENAMES | ||
130 | char *ar__long_names; | 131 | char *ar__long_names; |
131 | unsigned ar__long_name_size; | 132 | unsigned ar__long_name_size; |
132 | # endif | ||
133 | #endif | 133 | #endif |
134 | } archive_handle_t; | 134 | } archive_handle_t; |
135 | /* bits in ah_flags */ | 135 | /* bits in ah_flags */ |
@@ -213,13 +213,14 @@ void seek_by_jump(int fd, off_t amount) FAST_FUNC; | |||
213 | void seek_by_read(int fd, off_t amount) FAST_FUNC; | 213 | void seek_by_read(int fd, off_t amount) FAST_FUNC; |
214 | 214 | ||
215 | const char *strip_unsafe_prefix(const char *str) FAST_FUNC; | 215 | const char *strip_unsafe_prefix(const char *str) FAST_FUNC; |
216 | void create_or_remember_symlink(llist_t **symlink_placeholders, | 216 | void create_or_remember_link(llist_t **link_placeholders, |
217 | const char *target, | 217 | const char *target, |
218 | const char *linkname) FAST_FUNC; | 218 | const char *linkname, |
219 | int hard_link) FAST_FUNC; | ||
219 | #if !ENABLE_PLATFORM_MINGW32 | 220 | #if !ENABLE_PLATFORM_MINGW32 |
220 | void create_symlinks_from_list(llist_t *list) FAST_FUNC; | 221 | void create_links_from_list(llist_t *list) FAST_FUNC; |
221 | #else | 222 | #else |
222 | #define create_symlinks_from_list(l) (void)0 | 223 | #define create_links_from_list(l) (void)0 |
223 | #endif | 224 | #endif |
224 | 225 | ||
225 | void data_align(archive_handle_t *archive_handle, unsigned boundary) FAST_FUNC; | 226 | void data_align(archive_handle_t *archive_handle, unsigned boundary) FAST_FUNC; |