diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 | ||||
-rw-r--r-- | include/unarchive.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 22a77e610..5ff49114b 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -136,7 +136,8 @@ extern long *find_pid_by_name( const char* pidName); | |||
136 | extern char *find_real_root_device_name(const char* name); | 136 | extern char *find_real_root_device_name(const char* name); |
137 | extern char *bb_get_line_from_file(FILE *file); | 137 | extern char *bb_get_line_from_file(FILE *file); |
138 | extern char *bb_get_chomped_line_from_file(FILE *file); | 138 | extern char *bb_get_chomped_line_from_file(FILE *file); |
139 | extern int bb_copyfd(int fd1, int fd2, const off_t chunksize); | 139 | extern int bb_copyfd_size(int fd1, int fd2, const off_t size); |
140 | extern int bb_copyfd_eof(int fd1, int fd2); | ||
140 | extern void bb_xprint_and_close_file(FILE *file); | 141 | extern void bb_xprint_and_close_file(FILE *file); |
141 | extern int bb_xprint_file_by_name(const char *filename); | 142 | extern int bb_xprint_file_by_name(const char *filename); |
142 | extern char bb_process_escape_sequence(const char **ptr); | 143 | extern char bb_process_escape_sequence(const char **ptr); |
@@ -480,6 +481,6 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags); | |||
480 | #define HASH_SHA1 1 | 481 | #define HASH_SHA1 1 |
481 | #define HASH_MD5 2 | 482 | #define HASH_MD5 2 |
482 | extern int hash_fd(int fd, const size_t size, const uint8_t hash_algo, uint8_t *hashval); | 483 | extern int hash_fd(int fd, const size_t size, const uint8_t hash_algo, uint8_t *hashval); |
483 | 484 | extern size_t bb_full_fd_action(int src_fd, int dst_fd, const size_t size, ssize_t (*action)(int fd, const void *, size_t)); | |
484 | 485 | ||
485 | #endif /* __LIBCONFIG_H__ */ | 486 | #endif /* __LIBCONFIG_H__ */ |
diff --git a/include/unarchive.h b/include/unarchive.h index 79ee99e37..bbf11b557 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -90,12 +90,10 @@ extern char get_header_tar_gz(archive_handle_t *archive_handle); | |||
90 | extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount); | 90 | extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount); |
91 | extern void seek_by_char(const archive_handle_t *archive_handle, const unsigned int amount); | 91 | extern void seek_by_char(const archive_handle_t *archive_handle, const unsigned int amount); |
92 | 92 | ||
93 | extern ssize_t archive_xread(const archive_handle_t *archive_handle, unsigned char *buf, const size_t count); | ||
94 | extern void archive_xread_all(const archive_handle_t *archive_handle, void *buf, const size_t count); | 93 | extern void archive_xread_all(const archive_handle_t *archive_handle, void *buf, const size_t count); |
95 | extern ssize_t archive_xread_all_eof(archive_handle_t *archive_handle, unsigned char *buf, size_t count); | 94 | extern ssize_t archive_xread_all_eof(archive_handle_t *archive_handle, unsigned char *buf, size_t count); |
96 | 95 | ||
97 | extern void data_align(archive_handle_t *archive_handle, const unsigned short boundary); | 96 | extern void data_align(archive_handle_t *archive_handle, const unsigned short boundary); |
98 | extern void archive_copy_file(const archive_handle_t *archive_handle, const int dst_fd); | ||
99 | extern const llist_t *find_list_entry(const llist_t *list, const char *filename); | 97 | extern const llist_t *find_list_entry(const llist_t *list, const char *filename); |
100 | 98 | ||
101 | extern int uncompressStream(int src_fd, int dst_fd); | 99 | extern int uncompressStream(int src_fd, int dst_fd); |