libflom: FLoM (Free Lock Manager) client library

flom_types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013-2020, Christian Ferrari <tiian@users.sourceforge.net>
3  * All rights reserved.
4  *
5  * This file is part of FLoM, Free Lock Manager
6  *
7  * FLoM is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2.0 as
9  * published by the Free Software Foundation.
10  *
11  * FLoM is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with FLoM. If not, see <http://www.gnu.org/licenses/>.
18  */
19 #ifndef FLOM_TYPES_H
20 # define FLOM_TYPES_H
21 
22 
23 
24 /***********************************************************************
25  * *
26  * Boolean macros *
27  * *
28  ***********************************************************************/
29 #ifndef TRUE
30 
33 # define TRUE 1
34 #endif /* TRUE */
35 
36 #ifndef FALSE
37 
40 # define FALSE 0
41 #endif /* FALSE */
42 
43 
44 
48 typedef enum flom_lock_mode_e {
82 
83 
84 
85 #endif /* FLOM_HANDLE_H */
flom_lock_mode_e
Definition: flom_types.h:48
enum flom_lock_mode_e flom_lock_mode_t

Copyright © 2013-2020, Christian Ferrari tiian@users.sourceforge.net