Move routines to manipulate WAL into PostgreSQL::Test::Cluster
[pgsql.git] / src / bin / pg_basebackup / astreamer_inject.h
blobcd11685588423db1d4aeee856533a2804b531371
1 /*-------------------------------------------------------------------------
3 * astreamer_inject.h
5 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * IDENTIFICATION
8 * src/bin/pg_basebackup/astreamer_inject.h
9 *-------------------------------------------------------------------------
12 #ifndef ASTREAMER_INJECT_H
13 #define ASTREAMER_INJECT_H
15 #include "fe_utils/astreamer.h"
16 #include "pqexpbuffer.h"
18 extern astreamer *astreamer_recovery_injector_new(astreamer *next,
19 bool is_recovery_guc_supported,
20 PQExpBuffer recoveryconfcontents);
21 extern void astreamer_inject_file(astreamer *streamer, char *pathname,
22 char *data, int len);
24 #endif