Debian Codegraph @

src/bin/pg_combinebackup/reconstruct.h

raw
1 /*-------------------------------------------------------------------------
2 *
3 * reconstruct.h
4 * Reconstruct full file from incremental file and backup chain.
5 *
6 * Copyright (c) 2017-2025, PostgreSQL Global Development Group
7 *
8 * IDENTIFICATION
9 * src/bin/pg_combinebackup/reconstruct.h
10 *
11 *-------------------------------------------------------------------------
12 */
13 #ifndef RECONSTRUCT_H
14 #define RECONSTRUCT_H
15
16 #include "common/checksum_helper.h"
17 #include "copy_file.h"
18 #include "load_manifest.h"
19
20 extern void reconstruct_from_incremental_file(char *input_filename,
21 char *output_filename,
22 char *relative_path,
23 char *bare_file_name,
24 int n_prior_backups,
25 char **prior_backup_dirs,
26 manifest_data **manifests,
27 char *manifest_path,
28 pg_checksum_type checksum_type,
29 int *checksum_length,
30 uint8 **checksum_payload,
31 CopyMethod copy_method,
32 bool debug,
33 bool dry_run);
34
35 #endif