Skip to content

Commit

Permalink
Extern infoBackupNewLoad() and infoArchiveNewLoad().
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwshang authored and dwsteele committed Sep 8, 2020
1 parent 4239f8a commit 5941f56
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/info/infoArchive.c
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions src/info/infoArchive.h
Expand Up @@ -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
***********************************************************************************************************************************/
Expand Down
3 changes: 2 additions & 1 deletion src/info/infoBackup.c
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions src/info/infoBackup.h
Expand Up @@ -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
***********************************************************************************************************************************/
Expand Down

0 comments on commit 5941f56

Please sign in to comment.