libfswatch  1.9.3
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
31 extern "C"
32 {
33 # endif
34 
39  {
40  filter_include,
41  filter_exclude
42  };
43 
44  typedef struct fsw_cmonitor_filter
45  {
46  char * text;
47  enum fsw_filter_type type;
48  bool case_sensitive;
49  bool extended;
51 
55  typedef struct fsw_event_type_filter
56  {
57  enum fsw_event_flag flag;
59 
60 # ifdef __cplusplus
61 }
62 # endif
63 
64 #endif /* FSW__CFILTER_H */
struct fsw_event_type_filter fsw_event_type_filter
Event type filter.
fsw_event_flag
Backend-agnostic change flags.
Definition: cevent.h:63
Event type filter.
Definition: cfilter.h:55
Definition: cfilter.h:44
fsw_filter_type
Event filter type.
Definition: cfilter.h:38
Event type manipulation.