diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-04 21:19:32 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-04 21:19:32 +0000 |
commit | f042f3c095e99887a076427cc04de54f90fe2c29 (patch) | |
tree | 7c49f1fc1547a2f9cee812472f422a5c1a5c448b /internal.h | |
parent | 6b65252692f961f249492e7768d7b2826600d956 (diff) | |
download | busybox-w32-f042f3c095e99887a076427cc04de54f90fe2c29.tar.gz busybox-w32-f042f3c095e99887a076427cc04de54f90fe2c29.tar.bz2 busybox-w32-f042f3c095e99887a076427cc04de54f90fe2c29.zip |
A few updates (including the cp fix the Craig has been looking for)
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@386 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 4d035c962..4c7bd97ed 100644 --- a/internal.h +++ b/internal.h | |||
@@ -154,6 +154,17 @@ const char *modeString(int mode); | |||
154 | const char *timeString(time_t timeVal); | 154 | const char *timeString(time_t timeVal); |
155 | int isDirectory(const char *name, const int followLinks, struct stat *statBuf); | 155 | int isDirectory(const char *name, const int followLinks, struct stat *statBuf); |
156 | int isDevice(const char *name); | 156 | int isDevice(const char *name); |
157 | |||
158 | typedef struct ino_dev_hash_bucket_struct { | ||
159 | struct ino_dev_hash_bucket_struct *next; | ||
160 | ino_t ino; | ||
161 | dev_t dev; | ||
162 | char name[1]; | ||
163 | } ino_dev_hashtable_bucket_t; | ||
164 | int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name); | ||
165 | void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name); | ||
166 | void reset_ino_dev_hashtable(void); | ||
167 | |||
157 | int copyFile(const char *srcName, const char *destName, int setModes, | 168 | int copyFile(const char *srcName, const char *destName, int setModes, |
158 | int followLinks); | 169 | int followLinks); |
159 | char *buildName(const char *dirName, const char *fileName); | 170 | char *buildName(const char *dirName, const char *fileName); |