PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | JsonManifestParseContext |
Typedefs | |
typedef struct JsonManifestParseContext | JsonManifestParseContext |
typedef void(* | json_manifest_perfile_callback) (JsonManifestParseContext *, char *pathname, size_t size, pg_checksum_type checksum_type, int checksum_length, uint8 *checksum_payload) |
typedef void(* | json_manifest_perwalrange_callback) (JsonManifestParseContext *, TimeLineID tli, XLogRecPtr start_lsn, XLogRecPtr end_lsn) |
typedef void(* | json_manifest_error_callback) (JsonManifestParseContext *, const char *fmt,...) pg_attribute_printf(2 |
typedef void(* | pg_attribute_noreturn) () |
Functions | |
void | json_parse_manifest (JsonManifestParseContext *context, char *buffer, size_t size) |
typedef void(* json_manifest_error_callback) (JsonManifestParseContext *, const char *fmt,...) pg_attribute_printf(2 |
Definition at line 31 of file parse_manifest.h.
typedef void(* json_manifest_perfile_callback) (JsonManifestParseContext *, char *pathname, size_t size, pg_checksum_type checksum_type, int checksum_length, uint8 *checksum_payload) |
Definition at line 24 of file parse_manifest.h.
typedef void(* json_manifest_perwalrange_callback) (JsonManifestParseContext *, TimeLineID tli, XLogRecPtr start_lsn, XLogRecPtr end_lsn) |
Definition at line 28 of file parse_manifest.h.
typedef struct JsonManifestParseContext JsonManifestParseContext |
Definition at line 1 of file parse_manifest.h.
typedef void(* pg_attribute_noreturn) () |
Definition at line 33 of file parse_manifest.h.
void json_parse_manifest | ( | JsonManifestParseContext * | context, |
char * | buffer, | ||
size_t | size | ||
) |
Definition at line 119 of file parse_manifest.c.
References JsonSemAction::array_element_end, JsonSemAction::array_element_start, JsonSemAction::array_end, JsonSemAction::array_start, JM_EXPECT_EOF, JM_EXPECT_TOPLEVEL_START, json_manifest_array_end(), json_manifest_array_start(), json_manifest_object_end(), json_manifest_object_field_start(), json_manifest_object_start(), json_manifest_parse_failure(), json_manifest_scalar(), JSON_SUCCESS, makeJsonLexContextCstringLen(), JsonSemAction::object_end, JsonSemAction::object_field_end, JsonSemAction::object_field_start, JsonSemAction::object_start, parse(), pg_parse_json(), PG_UTF8, JsonSemAction::scalar, JsonSemAction::semstate, and verify_manifest_checksum().
Referenced by parse_manifest_file().