summaryrefslogtreecommitdiffstats
path: root/libgnu/file-set.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgnu/file-set.h')
-rw-r--r--libgnu/file-set.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libgnu/file-set.h b/libgnu/file-set.h
new file mode 100644
index 00000000..4e47d95a
--- /dev/null
+++ b/libgnu/file-set.h
@@ -0,0 +1,15 @@
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <stdbool.h>
+
+#include "hash.h"
+
+extern void record_file (Hash_table *ht, char const *file,
+ struct stat const *stats)
+#if defined __GNUC__ && ((__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3)
+ __attribute__ ((nonnull (2, 3)))
+#endif
+;
+
+extern bool seen_file (Hash_table const *ht, char const *file,
+ struct stat const *stats);