Joe Onorato | 0c4863b | 2009-05-05 11:50:51 -0700 | [diff] [blame] | 1 | #ifndef _UTILS_BACKUP_HELPERS_H |
| 2 | #define _UTILS_BACKUP_HELPERS_H |
| 3 | |
Joe Onorato | c7bbc69 | 2009-05-13 18:57:29 -0400 | [diff] [blame] | 4 | int back_up_files(int oldSnapshotFD, int oldDataStream, int newSnapshotFD, |
Joe Onorato | 0c4863b | 2009-05-05 11:50:51 -0700 | [diff] [blame] | 5 | char const* fileBase, char const* const* files, int fileCount); |
| 6 | |
Joe Onorato | 2a98fb9 | 2009-05-06 12:55:46 -0400 | [diff] [blame] | 7 | #define TEST_BACKUP_HELPERS 0 |
Joe Onorato | 0c4863b | 2009-05-05 11:50:51 -0700 | [diff] [blame] | 8 | |
| 9 | #if TEST_BACKUP_HELPERS |
| 10 | int backup_helper_test_empty(); |
| 11 | int backup_helper_test_four(); |
| 12 | int backup_helper_test_files(); |
| 13 | #endif |
| 14 | |
| 15 | #endif // _UTILS_BACKUP_HELPERS_H |