summaryrefslogtreecommitdiff
path: root/libbb/libbb.h
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-04-23 18:53:07 +0000
committerMatt Kraai <kraai@debian.org>2001-04-23 18:53:07 +0000
commit91b2855ba8b9918b79dbe4b9188a3acccb41f7b7 (patch)
treeb6ded0b21428442ba27167d8654410c8ce0c73d3 /libbb/libbb.h
parent4e9267d76c7dc47064bc80b1f8542453725158d7 (diff)
downloadbusybox-w32-91b2855ba8b9918b79dbe4b9188a3acccb41f7b7.tar.gz
busybox-w32-91b2855ba8b9918b79dbe4b9188a3acccb41f7b7.tar.bz2
busybox-w32-91b2855ba8b9918b79dbe4b9188a3acccb41f7b7.zip
Rewrite cp and mv to be SUSv2 compliant.
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r--libbb/libbb.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index 19de73ca9..c47a6689e 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -93,8 +93,7 @@ int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name);
93void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name); 93void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name);
94void reset_ino_dev_hashtable(void); 94void reset_ino_dev_hashtable(void);
95 95
96int copy_file(const char *src_name, const char *dst_name, 96int copy_file(const char *source, const char *dest, int flags);
97 int set_modes, int follow_links, int force_flag, int quiet_flag);
98int copy_file_chunk(FILE *src_file, FILE *dst_file, unsigned long long chunksize); 97int copy_file_chunk(FILE *src_file, FILE *dst_file, unsigned long long chunksize);
99char *buildName(const char *dirName, const char *fileName); 98char *buildName(const char *dirName, const char *fileName);
100int makeString(int argc, const char **argv, char *buf, int bufLen); 99int makeString(int argc, const char **argv, char *buf, int bufLen);
@@ -255,4 +254,12 @@ extern int gz_open(FILE *compressed_file, int *pid);
255#define CT_DOS2UNIX 2 254#define CT_DOS2UNIX 2
256/* extern int convert(char *fn, int ConvType); */ 255/* extern int convert(char *fn, int ConvType); */
257 256
257enum {
258 CP_PRESERVE_STATUS = 1,
259 CP_PRESERVE_SYMLINKS = 2,
260 CP_RECUR = 4,
261 CP_FORCE = 8,
262 CP_INTERACTIVE = 16
263};
264
258#endif /* __LIBBB_H__ */ 265#endif /* __LIBBB_H__ */