summaryrefslogtreecommitdiffstats
path: root/gl/lib/file-set.h
blob: 4e47d95a1f1b1b8ce808753c5333d24a83d24b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);