fswatch 1.21.0
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations
cfilter.h File Reference

Header of the libfswatch library functions for filter management. More...

#include "cevent.h"

Go to the source code of this file.

Classes

struct  fsw_cmonitor_filter
 
struct  fsw_event_type_filter
 Event type filter. More...
 

Typedefs

typedef struct fsw_cmonitor_filter fsw_cmonitor_filter
 
typedef struct fsw_event_type_filter fsw_event_type_filter
 Event type filter.
 

Enumerations

enum  fsw_filter_type { filter_include , filter_exclude }
 Event filter type.
 
enum  fsw_filter_mode { filter_mode_legacy , filter_mode_conjunctive }
 Path filter evaluation mode. More...
 

Detailed Description

Header of the libfswatch library functions for filter management.

License:\n GNU General Public License v. 3.0
Author
Enrico M. Crisostomo
Version
1.8.0

Enumeration Type Documentation

◆ fsw_filter_mode

Path filter evaluation mode.

filter_mode_legacy preserves the historical include-overrides-exclude behavior. filter_mode_conjunctive accepts paths that match at least one inclusion filter, or all paths when no inclusion filters exist, and then rejects paths matching any exclusion filter.