diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 8 | ||||
-rw-r--r-- | include/libbb.h | 11 |
2 files changed, 13 insertions, 6 deletions
diff --git a/include/applets.h b/include/applets.h index c3037973d..d3399b9af 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -80,8 +80,8 @@ | |||
80 | #ifdef BB_CMP | 80 | #ifdef BB_CMP |
81 | APPLET(cmp, cmp_main, _BB_DIR_USR_BIN) | 81 | APPLET(cmp, cmp_main, _BB_DIR_USR_BIN) |
82 | #endif | 82 | #endif |
83 | #ifdef BB_CP_MV | 83 | #ifdef BB_CP |
84 | APPLET(cp, cp_mv_main, _BB_DIR_BIN) | 84 | APPLET(cp, cp_main, _BB_DIR_BIN) |
85 | #endif | 85 | #endif |
86 | #ifdef BB_CUT | 86 | #ifdef BB_CUT |
87 | APPLET(cut, cut_main, _BB_DIR_USR_BIN) | 87 | APPLET(cut, cut_main, _BB_DIR_USR_BIN) |
@@ -269,8 +269,8 @@ | |||
269 | #ifdef BB_MT | 269 | #ifdef BB_MT |
270 | APPLET(mt, mt_main, _BB_DIR_BIN) | 270 | APPLET(mt, mt_main, _BB_DIR_BIN) |
271 | #endif | 271 | #endif |
272 | #ifdef BB_CP_MV | 272 | #ifdef BB_MV |
273 | APPLET(mv, cp_mv_main, _BB_DIR_BIN) | 273 | APPLET(mv, mv_main, _BB_DIR_BIN) |
274 | #endif | 274 | #endif |
275 | #ifdef BB_NC | 275 | #ifdef BB_NC |
276 | APPLET(nc, nc_main, _BB_DIR_USR_BIN) | 276 | APPLET(nc, nc_main, _BB_DIR_USR_BIN) |
diff --git a/include/libbb.h b/include/libbb.h index 19de73ca9..c47a6689e 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -93,8 +93,7 @@ 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 *src_name, const char *dst_name, | 96 | int copy_file(const char *source, const char *dest, int flags); |
97 | int set_modes, int follow_links, int force_flag, int quiet_flag); | ||
98 | int copy_file_chunk(FILE *src_file, FILE *dst_file, unsigned long long chunksize); | 97 | int copy_file_chunk(FILE *src_file, FILE *dst_file, unsigned long long chunksize); |
99 | char *buildName(const char *dirName, const char *fileName); | 98 | char *buildName(const char *dirName, const char *fileName); |
100 | int makeString(int argc, const char **argv, char *buf, int bufLen); | 99 | int 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 | ||
257 | enum { | ||
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__ */ |