diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/libbb.h b/include/libbb.h index 279b4e78b..54e852512 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -93,9 +93,9 @@ int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name); | |||
93 | void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name); | 93 | void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name); |
94 | void reset_ino_dev_hashtable(void); | 94 | void reset_ino_dev_hashtable(void); |
95 | 95 | ||
96 | int copy_file(const char *srcName, const char *destName, | 96 | int copy_file(const char *src_name, const char *dst_name, |
97 | int setModes, int followLinks, int forceFlag); | 97 | int set_modes, int follow_links, int force_flag, int quiet_flag); |
98 | int copy_file_chunk(int srcFd, int dstFd, off_t remaining); | 98 | int copy_file_chunk(FILE *src_file, FILE *dst_file, off_t chunksize); |
99 | char *buildName(const char *dirName, const char *fileName); | 99 | char *buildName(const char *dirName, const char *fileName); |
100 | int makeString(int argc, const char **argv, char *buf, int bufLen); | 100 | int makeString(int argc, const char **argv, char *buf, int bufLen); |
101 | char *getChunk(int size); | 101 | char *getChunk(int size); |
@@ -225,10 +225,12 @@ typedef struct ar_headers_s { | |||
225 | off_t offset; | 225 | off_t offset; |
226 | struct ar_headers_s *next; | 226 | struct ar_headers_s *next; |
227 | } ar_headers_t; | 227 | } ar_headers_t; |
228 | extern ar_headers_t get_ar_headers(int srcFd); | 228 | extern ar_headers_t *get_ar_headers(FILE *in_file); |
229 | extern int deb_extract(int optflags, const char *dir_name, const char *deb_filename); | 229 | extern int seek_ared_file(FILE *in_file, ar_headers_t *headers, const char *tar_gz_file); |
230 | 230 | extern int deb_extract(const char *package_filename, const int function, char *target_dir); | |
231 | extern int untar(FILE *src_tar_file, int untar_function, char *base_path); | ||
231 | extern int unzip(FILE *l_in_file, FILE *l_out_file); | 232 | extern int unzip(FILE *l_in_file, FILE *l_out_file); |
232 | extern void gz_close(int gunzip_pid); | 233 | extern void gz_close(int gunzip_pid); |
233 | extern int gz_open(FILE *compressed_file, int *pid); | 234 | extern int gz_open(FILE *compressed_file, int *pid); |
235 | |||
234 | #endif /* __LIBBB_H__ */ | 236 | #endif /* __LIBBB_H__ */ |