mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Move private struct declaration to compress_io.c
Keep only the typedef in the header file.
This commit is contained in:
@@ -32,6 +32,20 @@
|
||||
|
||||
#include "compress_io.h"
|
||||
|
||||
|
||||
/* typedef appears in compress_io.h */
|
||||
struct CompressorState
|
||||
{
|
||||
CompressionAlgorithm comprAlg;
|
||||
WriteFunc writeF;
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
z_streamp zp;
|
||||
char *zlibOut;
|
||||
size_t zlibOutSize;
|
||||
#endif
|
||||
};
|
||||
|
||||
static const char *modulename = gettext_noop("compress_io");
|
||||
|
||||
static void ParseCompressionOption(int compression, CompressionAlgorithm *alg,
|
||||
|
||||
Reference in New Issue
Block a user