--- /srv/rebuilderd/tmp/rebuilderdDmUcQ7/inputs/libtinycbor-dev_0.6.1-1+b1_amd64.deb +++ /srv/rebuilderd/tmp/rebuilderdDmUcQ7/out/libtinycbor-dev_0.6.1-1+b1_amd64.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2026-01-17 10:46:13.000000 debian-binary │ --rw-r--r-- 0 0 0 1824 2026-01-17 10:46:13.000000 control.tar.xz │ --rw-r--r-- 0 0 0 109888 2026-01-17 10:46:13.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 1820 2026-01-17 10:46:13.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 109724 2026-01-17 10:46:13.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ │ │ │ ├── line order │ │ │ │ @@ -3,20 +3,20 @@ │ │ │ │ usr/include/tinycbor/tinycbor-version.h │ │ │ │ usr/lib/x86_64-linux-gnu/libtinycbor.a │ │ │ │ usr/lib/x86_64-linux-gnu/pkgconfig/tinycbor.pc │ │ │ │ usr/share/doc-base/libtinycbor-dev.libtinycbor-dev │ │ │ │ usr/share/doc/libtinycbor-dev/changelog.Debian.amd64.gz │ │ │ │ usr/share/doc/libtinycbor-dev/changelog.Debian.gz │ │ │ │ usr/share/doc/libtinycbor-dev/copyright │ │ │ │ -usr/share/doc/libtinycbor-dev/html/a00002_source.html │ │ │ │ -usr/share/doc/libtinycbor-dev/html/a00008_source.html │ │ │ │ -usr/share/doc/libtinycbor-dev/html/a00032.html │ │ │ │ -usr/share/doc/libtinycbor-dev/html/a00032_source.html │ │ │ │ -usr/share/doc/libtinycbor-dev/html/a00047.html │ │ │ │ -usr/share/doc/libtinycbor-dev/html/a00047_source.html │ │ │ │ +usr/share/doc/libtinycbor-dev/html/a00005_source.html │ │ │ │ +usr/share/doc/libtinycbor-dev/html/a00014.html │ │ │ │ +usr/share/doc/libtinycbor-dev/html/a00014_source.html │ │ │ │ +usr/share/doc/libtinycbor-dev/html/a00017.html │ │ │ │ +usr/share/doc/libtinycbor-dev/html/a00017_source.html │ │ │ │ +usr/share/doc/libtinycbor-dev/html/a00020_source.html │ │ │ │ usr/share/doc/libtinycbor-dev/html/a00054.html │ │ │ │ usr/share/doc/libtinycbor-dev/html/a00055.html │ │ │ │ usr/share/doc/libtinycbor-dev/html/a00056.html │ │ │ │ usr/share/doc/libtinycbor-dev/html/a00057.html │ │ │ │ usr/share/doc/libtinycbor-dev/html/a00058.html │ │ │ │ usr/share/doc/libtinycbor-dev/html/a00062.html │ │ │ │ usr/share/doc/libtinycbor-dev/html/a00082.html ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -13,20 +13,20 @@ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2026-01-17 10:46:13.000000 ./usr/share/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2026-01-17 10:46:13.000000 ./usr/share/doc/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/ │ │ │ -rw-r--r-- 0 root (0) root (0) 234 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/changelog.Debian.amd64.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 726 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/changelog.Debian.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 1397 2024-10-19 16:35:58.000000 ./usr/share/doc/libtinycbor-dev/copyright │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/ │ │ │ --rw-r--r-- 0 root (0) root (0) 2738 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00002_source.html │ │ │ --rw-r--r-- 0 root (0) root (0) 7559 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00008_source.html │ │ │ --rw-r--r-- 0 root (0) root (0) 4932 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00032.html │ │ │ --rw-r--r-- 0 root (0) root (0) 13149 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00032_source.html │ │ │ --rw-r--r-- 0 root (0) root (0) 76503 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00047.html │ │ │ --rw-r--r-- 0 root (0) root (0) 168729 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00047_source.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 2738 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00005_source.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 76503 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00014.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 168729 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00014_source.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4932 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00017.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 13149 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00017_source.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 7559 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00020_source.html │ │ │ -rw-r--r-- 0 root (0) root (0) 6934 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00054.html │ │ │ -rw-r--r-- 0 root (0) root (0) 77292 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00055.html │ │ │ -rw-r--r-- 0 root (0) root (0) 147911 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00056.html │ │ │ -rw-r--r-- 0 root (0) root (0) 11940 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00057.html │ │ │ -rw-r--r-- 0 root (0) root (0) 13671 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00058.html │ │ │ -rw-r--r-- 0 root (0) root (0) 2581 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00062.html │ │ │ -rw-r--r-- 0 root (0) root (0) 2801 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/a00082.html │ │ │ @@ -39,15 +39,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 4234 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/files.html │ │ │ -rw-r--r-- 0 root (0) root (0) 13953 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/globals.html │ │ │ -rw-r--r-- 0 root (0) root (0) 13415 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/globals_func.html │ │ │ -rw-r--r-- 0 root (0) root (0) 2667 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/globals_type.html │ │ │ -rw-r--r-- 0 root (0) root (0) 2681 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/globals_vars.html │ │ │ -rw-r--r-- 0 root (0) root (0) 6208 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/graph_legend.html │ │ │ -rw-r--r-- 0 root (0) root (0) 23327 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/graph_legend.png │ │ │ --rw-r--r-- 0 root (0) root (0) 3408 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/index.hhc.gz │ │ │ +-rw-r--r-- 0 root (0) root (0) 3407 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/index.hhc.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 3965 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/index.hhk.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 826 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/index.hhp │ │ │ -rw-r--r-- 0 root (0) root (0) 2706 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 2189 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/menudata.js │ │ │ -rw-r--r-- 0 root (0) root (0) 5107 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/navtree.css │ │ │ -rw-r--r-- 0 root (0) root (0) 1276 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/tabs.css │ │ │ -rw-r--r-- 0 root (0) root (0) 3424 2026-01-17 10:46:13.000000 ./usr/share/doc/libtinycbor-dev/html/topics.html │ │ ├── ./usr/share/doc/libtinycbor-dev/html/a00056.html │ │ │ @@ -368,15 +368,15 @@ │ │ │
Copies the string pointed by value into the buffer provided at buffer of buflen bytes.
│ │ │If buffer is a NULL pointer, this function will not copy anything and will only update the next value.
│ │ │If the iterator value does not point to a byte string, the behaviour is undefined, so checking with cbor_value_get_type or cbor_value_is_byte_string is recommended.
│ │ │If the provided buffer length was too small, this function returns an error condition of CborErrorOutOfMemory. If you need to calculate the length of the string in order to preallocate a buffer, use cbor_value_calculate_string_length().
│ │ │On success, this function sets the number of bytes copied to *buflen. If the buffer is large enough, this function will insert a null byte after the last copied byte, to facilitate manipulation of null-terminated strings. That byte is not included in the returned value of *buflen.
The next pointer, if not null, will be updated to point to the next item after this string. If value points to the last item, then next will be invalid.
│ │ │This function may not run in constant time (it will run in O(n) time on the number of chunks). It requires constant memory (O(1)).
│ │ │ -If buffer is a NULL pointer, this function will not copy anything and will only update the next value.
│ │ │If the iterator value does not point to a text string, the behaviour is undefined, so checking with cbor_value_get_type or cbor_value_is_text_string is recommended.
│ │ │If the provided buffer length was too small, this function returns an error condition of CborErrorOutOfMemory. If you need to calculate the length of the string in order to preallocate a buffer, use cbor_value_calculate_string_length().
│ │ │On success, this function sets the number of bytes copied to *buflen. If the buffer is large enough, this function will insert a null byte after the last copied byte, to facilitate manipulation of text strings. That byte is not included in the returned value of *buflen. If there was no space for the terminating null, no error is returned, so callers must check the value of *buflen after the call, before relying on the '\0'; if it has not been changed by the call, there is no '\0'-termination on the buffer's contents.
The next pointer, if not null, will be updated to point to the next item after this string. If value points to the last item, then next will be invalid.
│ │ │This function may not run in constant time (it will run in O(n) time on the number of chunks). It requires constant memory (O(1)).
│ │ │Retrieves the CBOR half-precision floating point (16-bit) value that value points to and stores it in result.
│ │ │If the iterator value does not point to a half-precision floating point value, the behavior is undefined, so checking with cbor_value_get_type or with cbor_value_is_half_float is recommended.
│ │ │Note: since the C language does not have a standard type for half-precision floating point, this function takes a void * as a parameter for the storage area, which must be at least 16 bits wide.
│ │ │ -Referenced by cbor_value_get_half_float_as_float().
│ │ │ +Referenced by cbor_value_get_half_float_as_float().
│ │ │ │ │ │If the iterator value does not point to a text string, the behaviour is undefined, so checking with cbor_value_get_type or cbor_value_is_text_string is recommended.
│ │ │The next pointer, if not null, will be updated to point to the next item after this string. During iteration, the pointer must only be passed back again to this function; passing it to any other function in this library results in undefined behavior. If there are no more chunks to be read from value, then next will be set to the next item after this string; if value points to the last item, then next will be invalid.
│ │ │Returns true if the iterator value is valid and points to a CBOR byte string.
│ │ │CBOR byte strings are binary data with no specified encoding or format.
│ │ │ -Referenced by cbor_value_copy_byte_string(), cbor_value_dup_byte_string(), and cbor_value_get_string_length().
│ │ │ +Referenced by cbor_value_copy_byte_string(), cbor_value_dup_byte_string(), and cbor_value_get_string_length().
│ │ │ │ │ │Returns true if the iterator value is valid and points to a CBOR text string.
│ │ │CBOR text strings are UTF-8 encoded and usually contain human-readable text.
│ │ │ -Referenced by cbor_value_copy_text_string(), cbor_value_dup_text_string(), cbor_value_get_string_length(), cbor_value_get_text_string_chunk(), cbor_value_map_find_value(), and cbor_value_text_string_equals().
│ │ │ +Referenced by cbor_value_copy_text_string(), cbor_value_dup_text_string(), cbor_value_get_string_length(), cbor_value_get_text_string_chunk(), cbor_value_map_find_value(), and cbor_value_text_string_equals().
│ │ │ │ │ │Converts the current CBOR type pointed by value to its textual representation and writes it to the stream by calling the streamFunction.
│ │ │If an error occurs, this function returns an error code similar to Parsing CBOR streams.
│ │ │The textual representation can be controlled by the flags parameter (see CborPrettyFlags for more information).
│ │ │If no error ocurred, this function advances value to the next element. Often, concatenating the text representation of multiple elements can be done by appending a comma to the output stream in between calls to this function.
│ │ │The streamFunction function will be called with the token value as the first parameter and a printf-style format string as the second, with a variable number of further parameters.
│ │ │ - │ │ │ + │ │ │ │ │ │ -Referenced by cbor_value_to_pretty_advance(), and cbor_value_to_pretty_advance_flags().
│ │ │ +Referenced by cbor_value_to_pretty_advance(), and cbor_value_to_pretty_advance_flags().
│ │ │ │ │ │Converts the current CBOR type pointed to by value to JSON and writes that to the out stream.
│ │ │If an error occurs, this function returns an error code similar to CborParsing. The flags parameter indicates one or more of the flags from CborToJsonFlags that control the conversion.
│ │ │ - │ │ │ + │ │ │ │ │ │Converts the current CBOR type pointed to by value to JSON and writes that to the out stream.
│ │ │If an error occurs, this function returns an error code similar to CborParsing. The flags parameter indicates one or more of the flags from CborToJsonFlags that control the conversion.
│ │ │If no error ocurred, this function advances value to the next element.
│ │ │ - │ │ │ + │ │ │ │ │ │Referenced by cbor_value_to_json().
│ │ │ │ │ │| cbor.h | > The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (CborEncoder) and decoding (CborValue) |
| cborjson.h | > The <cborjson.h> file contains the routines that are used to convert a CBOR data stream into JSON |
| memory.h | |
| tinycbor-version.h | |
| cbor.h | > The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (CborEncoder) and decoding (CborValue) |
| cborjson.h | > The <cborjson.h> file contains the routines that are used to convert a CBOR data stream into JSON |
| memory.h | |
| tinycbor-version.h |
> The <cborjson.h> file contains the routines that are used to convert a CBOR data stream into JSON. │ │ │ +
> The <cborjson.h> file contains the routines that are used to convert a CBOR data stream into JSON. │ │ │ More...
│ │ │ -#include "cbor.h"#include "cbor.h"Go to the source code of this file.
│ │ │ +Go to the source code of this file.
│ │ ││ │ │ Functions | |
| CborError | cbor_value_to_json_advance (FILE *out, CborValue *value, int flags) |
| Converts the current CBOR type pointed to by value to JSON and writes that to the out stream. | |
| CborError | cbor_value_to_json (FILE *out, const CborValue *value, int flags) |
| Converts the current CBOR type pointed to by value to JSON and writes that to the out stream. | |
> The <cborjson.h> file contains the routines that are used to convert a CBOR data stream into JSON.
│ │ │ -> The <cborjson.h> file contains the routines that are used to convert a CBOR data stream into JSON.
│ │ │ +> The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (CborEncoder) and decoding (CborValue). │ │ │ +
> The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (CborEncoder) and decoding (CborValue). │ │ │ More...
│ │ │#include <assert.h>#include <limits.h>#include <stddef.h>#include <stdint.h>#include <string.h>#include <stdio.h>#include "tinycbor-version.h"#include <stdbool.h>Go to the source code of this file.
│ │ │ +Go to the source code of this file.
│ │ ││ │ │ Data Structures | |
| struct | CborEncoder |
| Structure used to encode to CBOR. More... | |
| struct | CborValue |
| This type contains one value parsed from the CBOR stream. More... | |
│ │ │ Variables | |
| static const size_t | CborIndefiniteLength = ((size_t)-1) |
| This variable is a constant used to indicate that the length of the map or array is not yet determined. | |
> The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (CborEncoder) and decoding (CborValue).
│ │ │ -> The <cbor.h> is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (CborEncoder) and decoding (CborValue).
│ │ │ +