From: Jonathan Dieter Date: Sat, 8 Dec 2018 22:21:56 +0000 (+0000) Subject: Bump to 0.9.16 X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~60 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc96950a24dcb76505099c337016fd93f4b78096;p=zchunk.git Bump to 0.9.16 Signed-off-by: Jonathan Dieter --- diff --git a/meson.build b/meson.build index 576e05c..031375c 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('zck', 'c', - version : '0.9.15', + version : '0.9.16', meson_version : '>=0.44.0', default_options : ['c_std=gnu99']) diff --git a/test/abi/stable/libzck.so.0.9.15 b/test/abi/stable/libzck.so.0.9.15 deleted file mode 100755 index edc26df..0000000 Binary files a/test/abi/stable/libzck.so.0.9.15 and /dev/null differ diff --git a/test/abi/stable/libzck.so.0.9.16 b/test/abi/stable/libzck.so.0.9.16 new file mode 100755 index 0000000..e1779ed Binary files /dev/null and b/test/abi/stable/libzck.so.0.9.16 differ diff --git a/test/abi/stable/zck.h b/test/abi/stable/zck.h index 448f096..3291638 100644 --- a/test/abi/stable/zck.h +++ b/test/abi/stable/zck.h @@ -1,7 +1,7 @@ #ifndef ZCK_H #define ZCK_H -#define ZCK_VERSION "0.9.15" +#define ZCK_VERSION "0.9.16" #include #include @@ -169,6 +169,7 @@ int zck_failed_chunks(zckCtx *zck) /* Reset failed chunks to become missing */ void zck_reset_failed_chunks(zckCtx *zck); + /******************************************************************* * The functions should be all you need to read and write a zchunk * file. After this point are advanced functions with an unstable @@ -231,6 +232,9 @@ bool zck_validate_lead(zckCtx *zck) /* Get chunk count */ ssize_t zck_get_chunk_count(zckCtx *zck) __attribute__ ((warn_unused_result)); +/* Get chunk by number */ +zckChunk *zck_get_chunk(zckCtx *zck, size_t number) + __attribute__ ((warn_unused_result)); /* Get first chunk */ zckChunk *zck_get_first_chunk(zckCtx *zck) __attribute__ ((warn_unused_result)); @@ -246,16 +250,29 @@ ssize_t zck_get_chunk_size(zckChunk *idx) /* Get compressed chunk size */ ssize_t zck_get_chunk_comp_size(zckChunk *idx) __attribute__ ((warn_unused_result)); +/* Get chunk number */ +ssize_t zck_get_chunk_number(zckChunk *idx) + __attribute__ ((warn_unused_result)); /* Get validity of current chunk - 1 = valid, 0 = missing, -1 = invalid */ int zck_get_chunk_valid(zckChunk *idx) __attribute__ ((warn_unused_result)); /* Get chunk digest */ char *zck_get_chunk_digest(zckChunk *item) __attribute__ ((warn_unused_result)); +/* Get digest size of chunk hash type */ +ssize_t zck_get_chunk_digest_size(zckCtx *zck) + __attribute__ ((warn_unused_result)); +/* Get chunk data */ +ssize_t zck_get_chunk_data(zckChunk *idx, char *dst, size_t dst_size) + __attribute__ ((warn_unused_result)); +/* Get compressed chunk data */ +ssize_t zck_get_chunk_comp_data(zckChunk *idx, char *dst, size_t dst_size) + __attribute__ ((warn_unused_result)); /* Find out if two chunk digests are the same */ bool zck_compare_chunk_digest(zckChunk *a, zckChunk *b) __attribute__ ((warn_unused_result)); + /******************************************************************* * Advanced hash functions *******************************************************************/ @@ -268,9 +285,6 @@ ssize_t zck_get_full_digest_size(zckCtx *zck) /* Get chunk hash type */ int zck_get_chunk_hash_type(zckCtx *zck) __attribute__ ((warn_unused_result)); -/* Get digest size of chunk hash type */ -ssize_t zck_get_chunk_digest_size(zckCtx *zck) - __attribute__ ((warn_unused_result)); /* Get name of hash type */ const char *zck_hash_name_from_type(int hash_type) __attribute__ ((warn_unused_result)); diff --git a/test/compat_reports/zchunk/0.9.14_to_0.9.15/compat_report.html b/test/compat_reports/zchunk/0.9.14_to_0.9.15/compat_report.html deleted file mode 100644 index f9afcca..0000000 --- a/test/compat_reports/zchunk/0.9.14_to_0.9.15/compat_report.html +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - - - - -zchunk: 0.9.14 to 0.9.15 compatibility report - - - -

API compatibility report for the libzck.so object between 0.9.14 and 0.9.15 versions on x86_64

- -
-
-

Test Info


- - - - - - - -
Module Namezchunk
Version #10.9.14
Version #20.9.15
Archx86_64
GCC Version8.2.1
SubjectBinary Compatibility
-

Test Results


- - - - - - -
Total Header Files1
Total Objects1
Total Symbols / Types71 / 13
Compatibility100%
-

Problem Summary


- - - - - - - - - -
SeverityCount
Added Symbols-0
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
- -

Header Files  1 


-
-zck.h
-
-
to the top
-

Objects  1 


-
-libzck.so.0.9.14
-
-
to the top
-


-

Test Info


- - - - - - -
Module Namezchunk
Version #10.9.14
Version #20.9.15
Archx86_64
SubjectSource Compatibility
-

Test Results


- - - - - - -
Total Header Files1
Total Objects1
Total Symbols / Types71 / 13
Compatibility100%
-

Problem Summary


- - - - - - - - - -
SeverityCount
Added Symbols-0
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
- -

Header Files  1 


-
-zck.h
-
-
to the top
-

Objects  1 


-
-libzck.so.0.9.14
-
-
to the top
-



- -
- - diff --git a/test/compat_reports/zchunk/0.9.15_to_0.9.16/compat_report.html b/test/compat_reports/zchunk/0.9.15_to_0.9.16/compat_report.html new file mode 100644 index 0000000..55c0641 --- /dev/null +++ b/test/compat_reports/zchunk/0.9.15_to_0.9.16/compat_report.html @@ -0,0 +1,490 @@ + + + + + + + + + +zchunk: 0.9.15 to 0.9.16 compatibility report + + + +

API compatibility report for the libzck.so object between 0.9.15 and 0.9.16 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Module Namezchunk
Version #10.9.15
Version #20.9.16
Archx86_64
GCC Version8.2.1
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Objects1
Total Symbols / Types71 / 13
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-4
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Added Symbols  4 


+zck.h, libzck.so.0.9.16
+zck_get_chunk ( zckCtx* zck, size_t number )
+zck_get_chunk_comp_data ( zckChunk* idx, char* dst, size_t dst_size )
+zck_get_chunk_data ( zckChunk* idx, char* dst, size_t dst_size )
+zck_get_chunk_number ( zckChunk* idx )
+
+to the top
+

Header Files  1 


+
+zck.h
+
+
to the top
+

Objects  1 


+
+libzck.so.0.9.15
+
+
to the top
+


+

Test Info


+ + + + + + +
Module Namezchunk
Version #10.9.15
Version #20.9.16
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Objects1
Total Symbols / Types71 / 13
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-4
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Added Symbols  4 


+zck.h
+zck_get_chunk ( zckCtx* zck, size_t number )
+zck_get_chunk_comp_data ( zckChunk* idx, char* dst, size_t dst_size )
+zck_get_chunk_data ( zckChunk* idx, char* dst, size_t dst_size )
+zck_get_chunk_number ( zckChunk* idx )
+
+to the top
+

Header Files  1 


+
+zck.h
+
+
to the top
+

Objects  1 


+
+libzck.so.0.9.15
+
+
to the top
+



+ +
+ +