source: box/trunk/lib/backupclient/BackupClientMakeExcludeList.h @ 217

Revision 217, 1.8 KB checked in by martin, 6 years ago (diff)

Set svn:eol-style as appropriate for all files

  • Property svn:eol-style set to native
Line 
1// --------------------------------------------------------------------------
2//
3// File
4//              Name:    BackupClientMakeExcludeList.h
5//              Purpose: Makes exclude lists from bbbackupd config location entries
6//              Created: 28/1/04
7//
8// --------------------------------------------------------------------------
9
10#ifndef BACKUPCLIENTMAKEEXCLUDELIST__H
11#define BACKUPCLIENTMAKEEXCLUDELIST__H
12
13class ExcludeList;
14class Configuration;
15
16ExcludeList *BackupClientMakeExcludeList(const Configuration &rConfig, const char *DefiniteName, const char *RegexName,
17        const char *AlwaysIncludeDefiniteName = 0, const char *AlwaysIncludeRegexName = 0);
18
19// --------------------------------------------------------------------------
20//
21// Function
22//              Name:    BackupClientMakeExcludeList_Files(const Configuration &)
23//              Purpose: Create a exclude list from config file entries for files. May return 0.
24//              Created: 28/1/04
25//
26// --------------------------------------------------------------------------
27inline ExcludeList *BackupClientMakeExcludeList_Files(const Configuration &rConfig)
28{
29        return BackupClientMakeExcludeList(rConfig, "ExcludeFile", "ExcludeFilesRegex", "AlwaysIncludeFile", "AlwaysIncludeFilesRegex");
30}
31
32
33// --------------------------------------------------------------------------
34//
35// Function
36//              Name:    BackupClientMakeExcludeList_Dirs(const Configuration &)
37//              Purpose: Create a exclude list from config file entries for directories. May return 0.
38//              Created: 28/1/04
39//
40// --------------------------------------------------------------------------
41inline ExcludeList *BackupClientMakeExcludeList_Dirs(const Configuration &rConfig)
42{
43        return BackupClientMakeExcludeList(rConfig, "ExcludeDir", "ExcludeDirsRegex", "AlwaysIncludeDir", "AlwaysIncludeDirsRegex");
44}
45
46
47#endif // BACKUPCLIENTMAKEEXCLUDELIST__H
48
Note: See TracBrowser for help on using the repository browser.