aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOlaf Bergmann <bergmann@tzi.org>2015-05-26 19:51:35 +0200
committerOlaf Bergmann <bergmann@tzi.org>2015-05-26 20:19:12 +0200
commitf74c2f00e1b1c7670eccbc7fba75b60713088f7e (patch)
tree38905eca044e0dfd1125dd33d6f26550722654ec /include
parent241bc28b22b1622b500d118f3260f8a8ba9c7d6e (diff)
downloadplatform_external_cn-cbor-f74c2f00e1b1c7670eccbc7fba75b60713088f7e.tar.gz
platform_external_cn-cbor-f74c2f00e1b1c7670eccbc7fba75b60713088f7e.tar.bz2
platform_external_cn-cbor-f74c2f00e1b1c7670eccbc7fba75b60713088f7e.zip
Rename cbor_encoder_write() to cn_cbor_encoder_write()
The public API prefixes all symbols with cn_cbor_, so it seems reasonable to rename cbor_encoder_write() to cn_cbor_encoder_write().
Diffstat (limited to 'include')
-rw-r--r--include/cn-cbor/cn-cbor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cn-cbor/cn-cbor.h b/include/cn-cbor/cn-cbor.h
index 7dc67a3..86e4a4c 100644
--- a/include/cn-cbor/cn-cbor.h
+++ b/include/cn-cbor/cn-cbor.h
@@ -263,10 +263,10 @@ void cn_cbor_free(const cn_cbor* cb CBOR_CONTEXT);
* @param[in] cb [description]
* @return -1 on fail, or number of bytes written
*/
-ssize_t cbor_encoder_write(uint8_t *buf,
- size_t buf_offset,
- size_t buf_size,
- const cn_cbor *cb);
+ssize_t cn_cbor_encoder_write(uint8_t *buf,
+ size_t buf_offset,
+ size_t buf_size,
+ const cn_cbor *cb);
/**
* Create a CBOR map.