You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
Move function prototype to a better location in the header.
This commit is contained in:
@ -69,6 +69,9 @@ ioReadLine(IoRead *const this)
|
||||
return ioReadLineParam(this, false);
|
||||
}
|
||||
|
||||
// Read varint-128 encoding
|
||||
uint64_t ioReadVarIntU64(IoRead *this);
|
||||
|
||||
// Are there bytes ready to read immediately? There are no guarantees on how much data is available to read but it must be at least
|
||||
// one byte.
|
||||
typedef struct IoReadReadyParam
|
||||
@ -77,9 +80,6 @@ typedef struct IoReadReadyParam
|
||||
bool error; // Error when read not ready
|
||||
} IoReadReadyParam;
|
||||
|
||||
// Read varint-128 encoding
|
||||
uint64_t ioReadVarIntU64(IoRead *this);
|
||||
|
||||
#define ioReadReadyP(this, ...) \
|
||||
ioReadReady(this, (IoReadReadyParam){VAR_PARAM_INIT, __VA_ARGS__})
|
||||
|
||||
|
Reference in New Issue
Block a user