Mercurial > hg > octave-nkf > gnulib-hg
annotate lib/hash-triple.h @ 17605:23cb5b2fd95b
relocatable-perl: like relocatable-script, but for Perl scripts
* build-aux/relocatable.pl.in: Add.
* doc/relocatable-maint.texi: Add documentation.
* modules/relocatable-perl: Add.
author | Reuben Thomas <rrt@sc3d.org> |
---|---|
date | Thu, 09 Jan 2014 22:31:42 +0000 |
parents | 6beadb731202 |
children |
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 | |
16128
6beadb731202
mark functions with const and pure attributes
Jim Meyering <meyering@redhat.com>
parents:
9233
diff
changeset
|
16 extern size_t triple_hash (void const *x, size_t table_size) _GL_ATTRIBUTE_PURE; |
6beadb731202
mark functions with const and pure attributes
Jim Meyering <meyering@redhat.com>
parents:
9233
diff
changeset
|
17 extern size_t triple_hash_no_name (void const *x, size_t table_size) |
6beadb731202
mark functions with const and pure attributes
Jim Meyering <meyering@redhat.com>
parents:
9233
diff
changeset
|
18 _GL_ATTRIBUTE_PURE; |
9225 | 19 extern bool triple_compare (void const *x, void const *y); |
16128
6beadb731202
mark functions with const and pure attributes
Jim Meyering <meyering@redhat.com>
parents:
9233
diff
changeset
|
20 extern bool triple_compare_ino_str (void const *x, void const *y) |
6beadb731202
mark functions with const and pure attributes
Jim Meyering <meyering@redhat.com>
parents:
9233
diff
changeset
|
21 _GL_ATTRIBUTE_PURE; |
9225 | 22 extern void triple_free (void *x); |
23 | |
24 #endif |