fswatch
1.14.0
libfswatch
c
libfswatch_types.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 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
*/
28
#ifndef LIBFSWATCH_TYPES_H
29
#define LIBFSWATCH_TYPES_H
30
31
#ifdef __cplusplus
32
extern
"C"
33
{
34
#endif
35
39
struct
FSW_SESSION
;
40
44
typedef
struct
FSW_SESSION
*
FSW_HANDLE
;
45
49
typedef
int
FSW_STATUS
;
50
51
#define FSW_INVALID_HANDLE -1
52
53
#if defined(HAVE_CXX_THREAD_LOCAL)
54
# define FSW_THREAD_LOCAL thread_local
55
#else
56
# define FSW_THREAD_LOCAL
57
#endif
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* LIBFSWATCH_TYPES_H */
FSW_STATUS
int FSW_STATUS
Status of a library call.
Definition:
libfswatch_types.h:49
FSW_HANDLE
struct FSW_SESSION * FSW_HANDLE
Handle to a monitoring session.
Definition:
libfswatch_types.h:44
FSW_SESSION
Definition:
libfswatch.cpp:432
Generated by
1.8.14