]> git.cworth.org Git - tar/blob - gnu/hash-triple.h
Imported Upstream version 1.23
[tar] / gnu / hash-triple.h
1 /* -*- buffer-read-only: t -*- vi: set ro: */
2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3 #ifndef HASH_TRIPLE_H
4 #define HASH_TRIPLE_H
5
6 #include <sys/types.h>
7 #include <sys/stat.h>
8 #include <stdbool.h>
9
10 /* Describe a just-created or just-renamed destination file.  */
11 struct F_triple
12 {
13   char *name;
14   ino_t st_ino;
15   dev_t st_dev;
16 };
17
18 extern size_t triple_hash (void const *x, size_t table_size);
19 extern size_t triple_hash_no_name (void const *x, size_t table_size);
20 extern bool triple_compare (void const *x, void const *y);
21 extern bool triple_compare_ino_str (void const *x, void const *y);
22 extern void triple_free (void *x);
23
24 #endif