diff options
Diffstat (limited to 'extra/mariabackup/xbstream.h')
-rw-r--r-- | extra/mariabackup/xbstream.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/mariabackup/xbstream.h b/extra/mariabackup/xbstream.h index e9f1468e58d..ac1bf05e321 100644 --- a/extra/mariabackup/xbstream.h +++ b/extra/mariabackup/xbstream.h @@ -1,5 +1,5 @@ /****************************************************** -Copyright (c) 2011-2013 Percona LLC and/or its affiliates. +Copyright (c) 2011-2017 Percona LLC and/or its affiliates. The xbstream format interface. @@ -89,8 +89,10 @@ typedef struct { char path[FN_REFLEN]; size_t length; my_off_t offset; + my_off_t checksum_offset; void *data; ulong checksum; + size_t buflen; } xb_rstream_chunk_t; xb_rstream_t *xb_stream_read_new(void); @@ -100,4 +102,6 @@ xb_rstream_result_t xb_stream_read_chunk(xb_rstream_t *stream, int xb_stream_read_done(xb_rstream_t *stream); +int xb_stream_validate_checksum(xb_rstream_chunk_t *chunk); + #endif |