diff options
Diffstat (limited to '')
-rw-r--r-- | gl/lib/file-set.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gl/lib/file-set.h b/gl/lib/file-set.h new file mode 100644 index 0000000..4e47d95 --- /dev/null +++ b/gl/lib/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); |