1 /*
2 integrit - file integrity verification system
3 Copyright (C) 2006 Ed L. Cashin
4 
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18 
19 */
20 #ifndef	ELC_RULES_H
21 #define	ELC_RULES_H
22 
23 typedef enum ruleflag {
24   /* prefix rules */
25   RULE_IGNORE		= 0x01,
26   RULE_NOCHILDREN	= 0x02,
27   RULE_NOINHERIT	= 0x04, /* true if this file has a non-inheriting
28 				  * checkset */
29 
30   /* suffix rules */
31   RULE_SUM		= 0x04,
32   RULE_INODE		= 0x08,
33   RULE_PERMS		= 0x10,
34   RULE_NLINK		= 0x20,
35   RULE_UID		= 0x40,
36   RULE_GID		= 0x80,
37   RULE_SIZE		= 0x100,
38   RULE_ATIME		= 0x200,
39   RULE_MTIME		= 0x400,
40   RULE_CTIME		= 0x800,
41   RULE_RESET_ATIME	= 0x1000,
42   RULE_TYPE		= 0x2000,
43   RULE_DEVICETYPE	= 0x4000
44 } ruleflag;
45 
46 #endif
47