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