diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-09-27 06:46:02 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-09-27 06:46:02 +0000 |
| commit | 8d1edc20766dc9ece1969428635dcc364d25ee47 (patch) | |
| tree | a53d807aeb25003e5a8ea22461079a10b5238e4d /include | |
| parent | 4c8b42b7584fd03b1e81933ec0fdb58107370d8b (diff) | |
| download | busybox-w32-8d1edc20766dc9ece1969428635dcc364d25ee47.tar.gz busybox-w32-8d1edc20766dc9ece1969428635dcc364d25ee47.tar.bz2 busybox-w32-8d1edc20766dc9ece1969428635dcc364d25ee47.zip | |
Fix compress support and prevent a segfault
git-svn-id: svn://busybox.net/trunk/busybox@5599 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 1 | ||||
| -rw-r--r-- | include/unarchive.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9dbbb47ce..2fec93db1 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -226,6 +226,7 @@ extern long arith (const char *startbuf, int *errcode); | |||
| 226 | int read_package_field(const char *package_buffer, char **field_name, char **field_value); | 226 | int read_package_field(const char *package_buffer, char **field_name, char **field_value); |
| 227 | char *fgets_str(FILE *file, const char *terminating_string); | 227 | char *fgets_str(FILE *file, const char *terminating_string); |
| 228 | 228 | ||
| 229 | extern int uncompress(int fd_in, int fd_out); | ||
| 229 | extern int inflate(int in, int out); | 230 | extern int inflate(int in, int out); |
| 230 | 231 | ||
| 231 | extern struct hostent *xgethostbyname(const char *name); | 232 | extern struct hostent *xgethostbyname(const char *name); |
diff --git a/include/unarchive.h b/include/unarchive.h index e564e9572..023c3e8aa 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
| @@ -85,7 +85,7 @@ extern char get_header_ar(archive_handle_t *archive_handle); | |||
| 85 | extern char get_header_tar(archive_handle_t *archive_handle); | 85 | extern char get_header_tar(archive_handle_t *archive_handle); |
| 86 | extern char get_header_tar_gz(archive_handle_t *archive_handle); | 86 | extern char get_header_tar_gz(archive_handle_t *archive_handle); |
| 87 | 87 | ||
| 88 | //extern void seek_sub_file(int src_fd, unsigned int amount); | 88 | extern void seek_sub_file(int src_fd, unsigned int amount); |
| 89 | extern const unsigned short data_align(const int src_fd, const unsigned int offset, const unsigned short align_to); | 89 | extern const unsigned short data_align(const int src_fd, const unsigned int offset, const unsigned short align_to); |
| 90 | extern const llist_t *add_to_list(const llist_t *old_head, const char *new_item); | 90 | extern const llist_t *add_to_list(const llist_t *old_head, const char *new_item); |
| 91 | extern int copy_file_chunk_fd(int src_fd, int dst_fd, unsigned long long chunksize); | 91 | extern int copy_file_chunk_fd(int src_fd, int dst_fd, unsigned long long chunksize); |
