diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 23:42:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 23:42:25 +0000 |
commit | 8c35d65c43216bb840326ac7476a180e2ae36fe9 (patch) | |
tree | 13d20b31e817dcff5124498ca0bec2cdf9781014 /include | |
parent | e80e2a3660bf09cc549cb2dfd2bdeb77ccde1231 (diff) | |
download | busybox-w32-8c35d65c43216bb840326ac7476a180e2ae36fe9.tar.gz busybox-w32-8c35d65c43216bb840326ac7476a180e2ae36fe9.tar.bz2 busybox-w32-8c35d65c43216bb840326ac7476a180e2ae36fe9.zip |
recursive_action: add depth param
chmod: match coreutils versus following links
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 169964ba3..9f9a2b82e 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -194,10 +194,10 @@ extern int is_directory(const char *name, int followLinks, struct stat *statBuf) | |||
194 | extern int remove_file(const char *path, int flags); | 194 | extern int remove_file(const char *path, int flags); |
195 | extern int copy_file(const char *source, const char *dest, int flags); | 195 | extern int copy_file(const char *source, const char *dest, int flags); |
196 | extern int recursive_action(const char *fileName, int recurse, | 196 | extern int recursive_action(const char *fileName, int recurse, |
197 | int followLinks, int depthFirst, | 197 | int followLinks, int depthFirst, |
198 | int (*fileAction) (const char *fileName, struct stat* statbuf, void* userData), | 198 | int (*fileAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), |
199 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData), | 199 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), |
200 | void* userData); | 200 | void* userData, int depth); |
201 | extern int device_open(const char *device, int mode); | 201 | extern int device_open(const char *device, int mode); |
202 | extern int get_console_fd(void); | 202 | extern int get_console_fd(void); |
203 | extern char *find_block_device(char *path); | 203 | extern char *find_block_device(char *path); |