aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-12 13:47:12 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-12 13:47:12 +0000
commitf0f9dd4e222e4fc3570eb22d05237a4d600e11d7 (patch)
tree833220c0e3e5fda94f60b9c4ce22a965a341c172 /include/libbb.h
parentade920763743e08b36399456775b72b686a14f47 (diff)
downloadbusybox-w32-f0f9dd4e222e4fc3570eb22d05237a4d600e11d7.tar.gz
busybox-w32-f0f9dd4e222e4fc3570eb22d05237a4d600e11d7.tar.bz2
busybox-w32-f0f9dd4e222e4fc3570eb22d05237a4d600e11d7.zip
Change size to unsinged long long, so if -1 is passed it will read as much as possible.
git-svn-id: svn://busybox.net/trunk/busybox@2332 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 46a0682b2..ec2a3a8ce 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -95,7 +95,7 @@ void reset_ino_dev_hashtable(void);
95 95
96int copy_file(const char *src_name, const char *dst_name, 96int copy_file(const char *src_name, const char *dst_name,
97 int set_modes, int follow_links, int force_flag, int quiet_flag); 97 int set_modes, int follow_links, int force_flag, int quiet_flag);
98int copy_file_chunk(FILE *src_file, FILE *dst_file, off_t chunksize); 98int copy_file_chunk(FILE *src_file, FILE *dst_file, unsigned long long chunksize);
99char *buildName(const char *dirName, const char *fileName); 99char *buildName(const char *dirName, const char *fileName);
100int makeString(int argc, const char **argv, char *buf, int bufLen); 100int makeString(int argc, const char **argv, char *buf, int bufLen);
101char *getChunk(int size); 101char *getChunk(int size);
@@ -234,10 +234,11 @@ typedef enum extract_function_e {
234 extract_info = 4, 234 extract_info = 4,
235 extract_extract = 8, 235 extract_extract = 8,
236 extract_verbose_extract = 16, 236 extract_verbose_extract = 16,
237 extract_list = 32 237 extract_list = 32,
238 extract_fsys_tarfile = 64
238} extract_function_t; 239} extract_function_t;
239extern int deb_extract(const char *package_filename, int function, char *target_dir); 240extern int deb_extract(const char *package_filename, int function, char *target_dir);
240extern int untar(FILE *src_tar_file, int function, char *base_path); 241extern int untar(FILE *src_tar_file, int untar_function, char *base_path);
241 242
242extern int unzip(FILE *l_in_file, FILE *l_out_file); 243extern int unzip(FILE *l_in_file, FILE *l_out_file);
243extern void gz_close(int gunzip_pid); 244extern void gz_close(int gunzip_pid);