fswatch
1.20.1
Loading...
Searching...
No Matches
libfswatch
c
cmonitor.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2014-2026 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
*/
25
26
#ifndef FSW__CMONITOR_H
27
# define FSW__CMONITOR_H
28
29
# include <time.h>
30
31
# ifdef __cplusplus
32
extern
"C"
33
{
34
# endif
35
43
enum
fsw_monitor_type
44
{
45
system_default_monitor_type
= 0,
46
fsevents_monitor_type
,
47
kqueue_monitor_type
,
48
inotify_monitor_type
,
49
windows_monitor_type
,
50
poll_monitor_type
,
51
fen_monitor_type
,
52
fanotify_monitor_type
53
};
54
55
# ifdef __cplusplus
56
}
57
# endif
58
59
#endif
/* FSW__CMONITOR_H */
fsw_monitor_type
fsw_monitor_type
Available monitors.
Definition
cmonitor.h:44
inotify_monitor_type
@ inotify_monitor_type
Definition
cmonitor.h:48
kqueue_monitor_type
@ kqueue_monitor_type
Definition
cmonitor.h:47
system_default_monitor_type
@ system_default_monitor_type
Definition
cmonitor.h:45
fsevents_monitor_type
@ fsevents_monitor_type
Definition
cmonitor.h:46
fen_monitor_type
@ fen_monitor_type
Definition
cmonitor.h:51
fanotify_monitor_type
@ fanotify_monitor_type
Definition
cmonitor.h:52
poll_monitor_type
@ poll_monitor_type
Definition
cmonitor.h:50
windows_monitor_type
@ windows_monitor_type
Definition
cmonitor.h:49
Generated by
1.14.0