14 #ifndef PARSE_MANIFEST_H
15 #define PARSE_MANIFEST_H
26 int manifest_version);
28 uint64 manifest_system_identifier);
32 int checksum_length,
uint8 *checksum_payload);
51 const char *buffer,
size_t size);
#define pg_attribute_printf(f, a)
static void const char * fmt
void(* json_manifest_per_wal_range_callback)(JsonManifestParseContext *, TimeLineID tli, XLogRecPtr start_lsn, XLogRecPtr end_lsn)
void json_parse_manifest(JsonManifestParseContext *context, const char *buffer, size_t size)
void(* json_manifest_per_file_callback)(JsonManifestParseContext *, const char *pathname, uint64 size, pg_checksum_type checksum_type, int checksum_length, uint8 *checksum_payload)
void(* json_manifest_system_identifier_callback)(JsonManifestParseContext *, uint64 manifest_system_identifier)
void(* pg_attribute_noreturn)()
JsonManifestParseIncrementalState * json_parse_manifest_incremental_init(JsonManifestParseContext *context)
void(* json_manifest_version_callback)(JsonManifestParseContext *, int manifest_version)
void(* json_manifest_error_callback)(JsonManifestParseContext *, const char *fmt,...) pg_attribute_printf(2
void json_parse_manifest_incremental_shutdown(JsonManifestParseIncrementalState *incstate)
void json_parse_manifest_incremental_chunk(JsonManifestParseIncrementalState *incstate, const char *chunk, size_t size, bool is_last)
static pg_noinline void Size size
json_manifest_per_wal_range_callback per_wal_range_cb
json_manifest_system_identifier_callback system_identifier_cb
json_manifest_error_callback error_cb
json_manifest_per_file_callback per_file_cb
json_manifest_version_callback version_cb