Mercurial > hg > octave-kai > gnulib-hg
annotate lib/hash-triple.h @ 10780:5c7a68d31801
Add support for Haiku.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 10 Nov 2008 12:37:32 +0100 |
parents | f5b68edd82c4 |
children | 6beadb731202 |
rev | line source |
---|---|
9225 | 1 #ifndef HASH_TRIPLE_H |
2 #define HASH_TRIPLE_H | |
3 | |
4 #include <sys/types.h> | |
5 #include <sys/stat.h> | |
6 #include <stdbool.h> | |
7 | |
8 /* Describe a just-created or just-renamed destination file. */ | |
9 struct F_triple | |
10 { | |
11 char *name; | |
12 ino_t st_ino; | |
13 dev_t st_dev; | |
14 }; | |
15 | |
16 extern size_t triple_hash (void const *x, size_t table_size); | |
17 extern size_t triple_hash_no_name (void const *x, size_t table_size); | |
18 extern bool triple_compare (void const *x, void const *y); | |
9233
f5b68edd82c4
Fix canonicalize loop-detection corner case.
Jim Meyering <jim@meyering.net>
parents:
9225
diff
changeset
|
19 extern bool triple_compare_ino_str (void const *x, void const *y); |
9225 | 20 extern void triple_free (void *x); |
21 | |
22 #endif |