2 # define CYCLE_CHECK_H 1
4 /* Before including this file, you need something like the following:
10 #include <sys/types.h>
16 typedef enum {false = 0, true = 1} bool;
19 so that the proper identifiers are all declared. */
23 struct cycle_check_state
25 struct dev_ino dev_ino
;
27 long unsigned int magic
;
30 void cycle_check_init (struct cycle_check_state
*state
);
31 bool cycle_check (struct cycle_check_state
*state
, struct stat
const *sb
);