diff options
author | Erik Andersen | 2000-03-04 21:19:32 +0000 |
---|---|---|
committer | Erik Andersen | 2000-03-04 21:19:32 +0000 |
commit | 029011b9eeaf491d00fda1d072c4c6094df96c3a (patch) | |
tree | 7c49f1fc1547a2f9cee812472f422a5c1a5c448b /internal.h | |
parent | 7c4b2f3fe5cb6b9a5c6bd089c18279c5ce29dc21 (diff) | |
download | busybox-029011b9eeaf491d00fda1d072c4c6094df96c3a.zip busybox-029011b9eeaf491d00fda1d072c4c6094df96c3a.tar.gz |
A few updates (including the cp fix the Craig has been looking for)
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -154,6 +154,17 @@ const char *modeString(int mode); const char *timeString(time_t timeVal); int isDirectory(const char *name, const int followLinks, struct stat *statBuf); int isDevice(const char *name); + +typedef struct ino_dev_hash_bucket_struct { + struct ino_dev_hash_bucket_struct *next; + ino_t ino; + dev_t dev; + char name[1]; +} ino_dev_hashtable_bucket_t; +int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name); +void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name); +void reset_ino_dev_hashtable(void); + int copyFile(const char *srcName, const char *destName, int setModes, int followLinks); char *buildName(const char *dirName, const char *fileName); |