diff options
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); |