diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/libbb.h b/include/libbb.h index a95de848b..bf6ae923d 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -214,15 +214,16 @@ extern int is_directory(const char *name, int followLinks, struct stat *statBuf) | |||
214 | extern int remove_file(const char *path, int flags); | 214 | extern int remove_file(const char *path, int flags); |
215 | extern int copy_file(const char *source, const char *dest, int flags); | 215 | extern int copy_file(const char *source, const char *dest, int flags); |
216 | enum { | 216 | enum { |
217 | ACTION_RECURSE = (1 << 0), | 217 | ACTION_RECURSE = (1 << 0), |
218 | ACTION_FOLLOWLINKS = (1 << 1), | 218 | ACTION_FOLLOWLINKS = (1 << 1), |
219 | ACTION_DEPTHFIRST = (1 << 2), | 219 | ACTION_FOLLOWLINKS_L0 = (1 << 2), |
220 | /*ACTION_REVERSE = (1 << 3), - unused */ | 220 | ACTION_DEPTHFIRST = (1 << 3), |
221 | /*ACTION_REVERSE = (1 << 4), - unused */ | ||
221 | }; | 222 | }; |
222 | extern int recursive_action(const char *fileName, unsigned flags, | 223 | extern int recursive_action(const char *fileName, unsigned flags, |
223 | int (*fileAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), | 224 | int (*fileAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), |
224 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), | 225 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), |
225 | void* userData, const unsigned depth); | 226 | void* userData, unsigned depth); |
226 | extern int device_open(const char *device, int mode); | 227 | extern int device_open(const char *device, int mode); |
227 | extern int get_console_fd(void); | 228 | extern int get_console_fd(void); |
228 | extern char *find_block_device(const char *path); | 229 | extern char *find_block_device(const char *path); |