]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/fileopts.h
Define new stream bits
[bacula/bacula] / bacula / src / fileopts.h
1 /*
2    Bacula® - The Network Backup Solution
3
4    Copyright (C) 2001-2010 Free Software Foundation Europe e.V.
5
6    The main author of Bacula is Kern Sibbald, with contributions from
7    many others, a complete list can be found in the file AUTHORS.
8    This program is Free Software; you can redistribute it and/or
9    modify it under the terms of version three of the GNU Affero General Public
10    License as published by the Free Software Foundation and included
11    in the file LICENSE.
12
13    This program is distributed in the hope that it will be useful, but
14    WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16    General Public License for more details.
17
18    You should have received a copy of the GNU Affero General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21    02110-1301, USA.
22
23    Bacula® is a registered trademark of Kern Sibbald.
24    The licensor of Bacula is the Free Software Foundation Europe
25    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
26    Switzerland, email:ftf@fsfeurope.org.
27 */
28 /*
29  * File types 
30  *
31  *     Kern Sibbald MMI
32  *
33  *  Extracted from findlib/find.h Nov 2010
34  *
35  */
36
37 #ifndef __BFILEOPTS_H
38 #define __BFILEOPTS_H
39
40 /*  
41  * Options saved int "options" of the include/exclude lists.
42  * They are directly jammed ito  "flag" of ff packet
43  */
44 #define FO_PORTABLE_DATA (1<<0)       /* Data is portable */
45 #define FO_MD5           (1<<1)       /* Do MD5 checksum */
46 #define FO_GZIP          (1<<2)       /* Do Zlib compression */
47 #define FO_NO_RECURSION  (1<<3)       /* no recursion in directories */
48 #define FO_MULTIFS       (1<<4)       /* multiple file systems */
49 #define FO_SPARSE        (1<<5)       /* do sparse file checking */
50 #define FO_IF_NEWER      (1<<6)       /* replace if newer */
51 #define FO_NOREPLACE     (1<<7)       /* never replace */
52 #define FO_READFIFO      (1<<8)       /* read data from fifo */
53 #define FO_SHA1          (1<<9)       /* Do SHA1 checksum */
54 #define FO_PORTABLE      (1<<10)      /* Use portable data format -- no BackupWrite */
55 #define FO_MTIMEONLY     (1<<11)      /* Use mtime rather than mtime & ctime */
56 #define FO_KEEPATIME     (1<<12)      /* Reset access time */
57 #define FO_EXCLUDE       (1<<13)      /* Exclude file */
58 #define FO_ACL           (1<<14)      /* Backup ACLs */
59 #define FO_NO_HARDLINK   (1<<15)      /* don't handle hard links */
60 #define FO_IGNORECASE    (1<<16)      /* Ignore file name case */
61 #define FO_HFSPLUS       (1<<17)      /* Resource forks and Finder Info */
62 #define FO_WIN32DECOMP   (1<<18)      /* Use BackupRead decomposition */
63 #define FO_SHA256        (1<<19)      /* Do SHA256 checksum */
64 #define FO_SHA512        (1<<20)      /* Do SHA512 checksum */
65 #define FO_ENCRYPT       (1<<21)      /* Encrypt data stream */
66 #define FO_NOATIME       (1<<22)      /* Use O_NOATIME to prevent atime change */
67 #define FO_ENHANCEDWILD  (1<<23)      /* Enhanced wild card processing */
68 #define FO_CHKCHANGES    (1<<24)      /* Check if file have been modified during backup */
69 #define FO_STRIPPATH     (1<<25)      /* Check for stripping path */
70 #define FO_HONOR_NODUMP  (1<<26)      /* honor NODUMP flag */
71 #define FO_XATTR         (1<<27)      /* Backup Extended Attributes */
72 #define FO_DELTA         (1<<28)      /* Delta data -- i.e. all copies returned on restore */
73 #define FO_PLUGIN        (1<<29)      /* Plugin data stream -- return to plugin on restore */
74 #define FO_OFFSETS       (1<<30)      /* Keep I/O file offsets */
75
76 #endif /* __BFILEOPTSS_H */