summaryrefslogtreecommitdiffstats
path: root/include/utils/backup_helpers.h
blob: f70444df6dd111833de4b4290ccbfd806cd8c715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _UTILS_BACKUP_HELPERS_H
#define _UTILS_BACKUP_HELPERS_H

int back_up_files(int oldSnapshotFD, int newSnapshotFD, int oldDataStream,
        char const* fileBase, char const* const* files, int fileCount);

#define TEST_BACKUP_HELPERS 1

#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