aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_combinebackup/copy_file.h
blob: 0f6bc09403f3aa7621a9b2d2237132f9cada7223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copy entire files.
 *
 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/bin/pg_combinebackup/copy_file.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef COPY_FILE_H
#define COPY_FILE_H

#include "common/checksum_helper.h"

extern void copy_file(const char *src, const char *dst,
					  pg_checksum_context *checksum_ctx, bool dry_run);

#endif							/* COPY_FILE_H */