forked from adrianlopezroche/fdupes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flags.h
28 lines (24 loc) · 767 Bytes
/
flags.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef FLAGS_H
#define FLAGS_H
#define ISFLAG(a,b) ((a & b) == b)
#define SETFLAG(a,b) (a |= b)
#define F_RECURSE 0x0001
#define F_HIDEPROGRESS 0x0002
#define F_DSAMELINE 0x0004
#define F_FOLLOWLINKS 0x0008
#define F_DELETEFILES 0x0010
#define F_EXCLUDEEMPTY 0x0020
#define F_CONSIDERHARDLINKS 0x0040
#define F_SHOWSIZE 0x0080
#define F_OMITFIRST 0x0100
#define F_RECURSEAFTER 0x0200
#define F_NOPROMPT 0x0400
#define F_SUMMARIZEMATCHES 0x0800
#define F_EXCLUDEHIDDEN 0x1000
#define F_PERMISSIONS 0x2000
#define F_REVERSE 0x4000
#define F_IMMEDIATE 0x8000
#define F_PLAINPROMPT 0x10000
#define F_SHOWTIME 0x20000
extern unsigned long flags;
#endif