fswatch 1.21.0
Loading...
Searching...
No Matches
cfilter.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2014-2016 Enrico M. Crisostomo
3 *
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License as published by the Free Software
6 * Foundation; either version 3, or (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
11 * details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <http://www.gnu.org/licenses/>.
15 */
26#ifndef FSW__CFILTER_H
27# define FSW__CFILTER_H
28# include "cevent.h"
29
30# ifdef __cplusplus
31extern "C"
32{
33# endif
34
39 {
40 filter_include,
41 filter_exclude
42 };
43
53 {
54 filter_mode_legacy,
55 filter_mode_conjunctive
56 };
57
58 typedef struct fsw_cmonitor_filter
59 {
60 char * text;
61 enum fsw_filter_type type;
62 bool case_sensitive;
63 bool extended;
65
73
74# ifdef __cplusplus
75}
76# endif
77
78#endif /* FSW__CFILTER_H */
Event type manipulation.
fsw_event_flag
Backend-agnostic change flags.
Definition cevent.h:66
fsw_filter_type
Event filter type.
Definition cfilter.h:39
fsw_filter_mode
Path filter evaluation mode.
Definition cfilter.h:53
Definition cfilter.h:59
Event type filter.
Definition cfilter.h:70