summaryrefslogtreecommitdiff
path: root/libinotifytools/src/inotifytools_p.h
blob: b707ae2bff56843a1b460ec7982ee9458eb8c51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef INOTIFYTOOLS_P_H
#define INOTIFYTOOLS_P_H

#include "redblack.h"

struct rbtree *inotifytools_wd_sorted_by_event(int sort_event);

typedef struct watch {
	char *filename;
	int wd;
	unsigned hit_access;
	unsigned hit_modify;
	unsigned hit_attrib;
	unsigned hit_close_write;
	unsigned hit_close_nowrite;
	unsigned hit_open;
	unsigned hit_moved_from;
	unsigned hit_moved_to;
	unsigned hit_create;
	unsigned hit_delete;
	unsigned hit_delete_self;
	unsigned hit_unmount;
	unsigned hit_move_self;
	unsigned hit_total;
} watch;

#endif