summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2021-11-28 19:11:31 +0200
committerVasile Vilvoiu <vasi@vilvoiu.ro>2021-11-28 19:11:31 +0200
commit31f098fafa70898629e0d2cb1cd1d76f2655e60e (patch)
treeb3842f34bd289e708df0ef96355e0323ae36cb7b /include
parentb643b7eec3958c2e7eb807bcf6fc899f9623a343 (diff)
Const pointers for str/bstr builders.
Diffstat (limited to 'include')
-rw-r--r--include/ecbor.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ecbor.h.in b/include/ecbor.h.in
index dab6c44..daaf54a 100644
--- a/include/ecbor.h.in
+++ b/include/ecbor.h.in
@@ -263,10 +263,10 @@ extern ecbor_item_t
ecbor_uint (uint64_t value);
extern ecbor_item_t
-ecbor_bstr (uint8_t *bstr, size_t length);
+ecbor_bstr (const uint8_t *bstr, size_t length);
extern ecbor_item_t
-ecbor_str (char *str, size_t length);
+ecbor_str (const char *str, size_t length);
extern ecbor_item_t
ecbor_tag (ecbor_item_t *child, uint64_t tag_value);