diff options
| author | rimio <vasi.vilvoiu@gmail.com> | 2018-03-06 00:23:59 +0200 |
|---|---|---|
| committer | rimio <vasi.vilvoiu@gmail.com> | 2018-03-06 00:23:59 +0200 |
| commit | 5c43023ce4c837ed70ac0c231e5b79f5fefb1157 (patch) | |
| tree | cc3009cba8848aa54d8acf483c9f5c966b5f210f /include/ecbor.h.in | |
| parent | e3f3c0d12eb83af50f984332a8ddae6f27197b12 (diff) | |
Const correctness fixes
Diffstat (limited to 'include/ecbor.h.in')
| -rw-r--r-- | include/ecbor.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ecbor.h.in b/include/ecbor.h.in index 0379b93..ef33ce2 100644 --- a/include/ecbor.h.in +++ b/include/ecbor.h.in @@ -363,7 +363,7 @@ ecbor_get_int64 (ecbor_item_t *item, int64_t *value); /* Strings */ extern ecbor_error_t -ecbor_get_str (ecbor_item_t *str, char **value); +ecbor_get_str (ecbor_item_t *str, const char **value); extern ecbor_error_t ecbor_get_str_chunk_count (ecbor_item_t *str, size_t *count); @@ -373,7 +373,7 @@ ecbor_get_str_chunk (ecbor_item_t *str, size_t index, ecbor_item_t *chunk); extern ecbor_error_t -ecbor_get_bstr (ecbor_item_t *str, uint8_t **value); +ecbor_get_bstr (ecbor_item_t *str, const uint8_t **value); extern ecbor_error_t ecbor_get_bstr_chunk_count (ecbor_item_t *str, size_t *count); |
