From 3989dbdf1293ecc16991065a3d84857a945ea853 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 23 Apr 2020 08:44:06 -0400 Subject: Rename exposed identifiers to say "backup manifest". Function names declared "extern" now use BackupManifest in the name rather than just Manifest, and data types use backup_manifest rather than just manifest. Per note from Michael Paquier. Discussion: http://postgr.es/m/20200418125713.GG350229@paquier.xyz --- src/include/replication/backup_manifest.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src/include/replication') diff --git a/src/include/replication/backup_manifest.h b/src/include/replication/backup_manifest.h index e7fccddd0da..fd614202b31 100644 --- a/src/include/replication/backup_manifest.h +++ b/src/include/replication/backup_manifest.h @@ -22,7 +22,7 @@ typedef enum manifest_option MANIFEST_OPTION_YES, MANIFEST_OPTION_NO, MANIFEST_OPTION_FORCE_ENCODE -} manifest_option; +} backup_manifest_option; typedef struct manifest_info { @@ -33,19 +33,20 @@ typedef struct manifest_info bool force_encode; bool first_file; bool still_checksumming; -} manifest_info; +} backup_manifest_info; -extern void InitializeManifest(manifest_info *manifest, - manifest_option want_manifest, - pg_checksum_type manifest_checksum_type); -extern void AppendStringToManifest(manifest_info *manifest, char *s); -extern void AddFileToManifest(manifest_info *manifest, const char *spcoid, - const char *pathname, size_t size, - pg_time_t mtime, - pg_checksum_context *checksum_ctx); -extern void AddWALInfoToManifest(manifest_info *manifest, XLogRecPtr startptr, - TimeLineID starttli, XLogRecPtr endptr, - TimeLineID endtli); -extern void SendBackupManifest(manifest_info *manifest); +extern void InitializeBackupManifest(backup_manifest_info *manifest, + backup_manifest_option want_manifest, + pg_checksum_type manifest_checksum_type); +extern void AddFileToBackupManifest(backup_manifest_info *manifest, + const char *spcoid, + const char *pathname, size_t size, + pg_time_t mtime, + pg_checksum_context * checksum_ctx); +extern void AddWALInfoToBackupManifest(backup_manifest_info *manifest, + XLogRecPtr startptr, + TimeLineID starttli, XLogRecPtr endptr, + TimeLineID endtli); +extern void SendBackupManifest(backup_manifest_info *manifest); #endif -- cgit v1.2.3