1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-06 08:49:29 +02:00

Extern infoBackupNewLoad() and infoArchiveNewLoad().

This commit is contained in:
Cynthia Shang
2020-09-08 12:55:56 -04:00
committed by David Steele
parent 4239f8a81a
commit 5941f5631a
4 changed files with 10 additions and 5 deletions

View File

@@ -82,10 +82,8 @@ infoArchiveNew(unsigned int pgVersion, uint64_t pgSystemId, const String *cipher
FUNCTION_LOG_RETURN(INFO_ARCHIVE, this);
}
/***********************************************************************************************************************************
Create new object and load contents from a file
***********************************************************************************************************************************/
static InfoArchive *
/**********************************************************************************************************************************/
InfoArchive *
infoArchiveNewLoad(IoRead *read)
{
FUNCTION_LOG_BEGIN(logLevelDebug);

View File

@@ -33,6 +33,9 @@ Constructors
***********************************************************************************************************************************/
InfoArchive *infoArchiveNew(const unsigned int pgVersion, const uint64_t pgSystemId, const String *cipherPassSub);
// Create new object and load contents from IoRead
InfoArchive *infoArchiveNewLoad(IoRead *read);
/***********************************************************************************************************************************
Functions
***********************************************************************************************************************************/

View File

@@ -182,7 +182,8 @@ infoBackupLoadCallback(void *data, const String *section, const String *key, con
FUNCTION_TEST_RETURN_VOID();
}
static InfoBackup *
/**********************************************************************************************************************************/
InfoBackup *
infoBackupNewLoad(IoRead *read)
{
FUNCTION_LOG_BEGIN(logLevelDebug);

View File

@@ -62,6 +62,9 @@ Constructors
***********************************************************************************************************************************/
InfoBackup *infoBackupNew(unsigned int pgVersion, uint64_t pgSystemId, const String *cipherPassSub);
// Create new object and load contents from IoRead
InfoBackup *infoBackupNewLoad(IoRead *read);
/***********************************************************************************************************************************
Functions
***********************************************************************************************************************************/