diff options
Diffstat (limited to 'include/utils/backup_helpers.h')
-rw-r--r-- | include/utils/backup_helpers.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/utils/backup_helpers.h b/include/utils/backup_helpers.h new file mode 100644 index 0000000..137c5f1 --- /dev/null +++ b/include/utils/backup_helpers.h @@ -0,0 +1,15 @@ +#ifndef _UTILS_BACKUP_HELPERS_H +#define _UTILS_BACKUP_HELPERS_H + +int back_up_files(int oldSnapshotFD, int oldDataStream, int newSnapshotFD, + char const* fileBase, char const* const* files, int fileCount); + +#define TEST_BACKUP_HELPERS 0 + +#if TEST_BACKUP_HELPERS +int backup_helper_test_empty(); +int backup_helper_test_four(); +int backup_helper_test_files(); +#endif + +#endif // _UTILS_BACKUP_HELPERS_H |