mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Return IoRead/IoWrite from io*FilterGroupSet()
This makes is possible to chain functions more effectively.
This commit is contained in:
parent
e701e8fd84
commit
78b333790c
@ -375,7 +375,7 @@ ioReadFilterGroup(const IoRead *this)
|
||||
FUNCTION_TEST_RETURN(this->filterGroup);
|
||||
}
|
||||
|
||||
void
|
||||
IoRead *
|
||||
ioReadFilterGroupSet(IoRead *this, IoFilterGroup *filterGroup)
|
||||
{
|
||||
FUNCTION_LOG_BEGIN(logLevelTrace);
|
||||
@ -391,7 +391,7 @@ ioReadFilterGroupSet(IoRead *this, IoFilterGroup *filterGroup)
|
||||
|
||||
this->filterGroup = ioFilterGroupMove(filterGroup, this->memContext);
|
||||
|
||||
FUNCTION_LOG_RETURN_VOID();
|
||||
FUNCTION_LOG_RETURN(IO_READ, this);
|
||||
}
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
|
@ -34,7 +34,7 @@ Getters/Setters
|
||||
bool ioReadBlock(const IoRead *this);
|
||||
bool ioReadEof(const IoRead *this);
|
||||
IoFilterGroup *ioReadFilterGroup(const IoRead *this);
|
||||
void ioReadFilterGroupSet(IoRead *this, IoFilterGroup *filterGroup);
|
||||
IoRead *ioReadFilterGroupSet(IoRead *this, IoFilterGroup *filterGroup);
|
||||
int ioReadHandle(const IoRead *this);
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
|
@ -281,7 +281,7 @@ ioWriteFilterGroup(const IoWrite *this)
|
||||
FUNCTION_TEST_RETURN(this->filterGroup);
|
||||
}
|
||||
|
||||
void
|
||||
IoWrite *
|
||||
ioWriteFilterGroupSet(IoWrite *this, IoFilterGroup *filterGroup)
|
||||
{
|
||||
FUNCTION_LOG_BEGIN(logLevelTrace);
|
||||
@ -301,7 +301,7 @@ ioWriteFilterGroupSet(IoWrite *this, IoFilterGroup *filterGroup)
|
||||
|
||||
this->filterGroup = ioFilterGroupMove(filterGroup, this->memContext);
|
||||
|
||||
FUNCTION_LOG_RETURN_VOID();
|
||||
FUNCTION_LOG_RETURN(IO_WRITE, this);
|
||||
}
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
|
@ -34,7 +34,7 @@ void ioWriteClose(IoWrite *this);
|
||||
Getters/Setters
|
||||
***********************************************************************************************************************************/
|
||||
IoFilterGroup *ioWriteFilterGroup(const IoWrite *this);
|
||||
void ioWriteFilterGroupSet(IoWrite *this, IoFilterGroup *filterGroup);
|
||||
IoWrite *ioWriteFilterGroupSet(IoWrite *this, IoFilterGroup *filterGroup);
|
||||
int ioWriteHandle(const IoWrite *this);
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user