summaryrefslogtreecommitdiffstats
path: root/include/utils/backup_helpers.h
blob: 61bee340db19f146066ab7538f1333abb24f1489 (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 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