summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-26 09:54:13 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-26 09:54:13 +0100
commit410d00dc06b2b7a89223479adec584dbf011e212 (patch)
tree381cb939e11af8afaab497bbdcee518b32a7c837 /include
parent74ec49125d0f5e01db376f13a627c892d6fcc68a (diff)
parent93e08315402c586a73fe3b9335e8d669ffc6511a (diff)
downloadouroboros-410d00dc06b2b7a89223479adec584dbf011e212.tar.gz
ouroboros-410d00dc06b2b7a89223479adec584dbf011e212.zip
Merged in dstaesse/ouroboros/be-du_buff_pointers (pull request #9)
lib: du_buff alloc API changed to return pointers
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/du_buff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ouroboros/du_buff.h b/include/ouroboros/du_buff.h
index 92d0609d..66904ca7 100644
--- a/include/ouroboros/du_buff.h
+++ b/include/ouroboros/du_buff.h
@@ -39,8 +39,8 @@ int du_buff_init(du_buff_t * dub,
uint8_t * data,
size_t len);
-int du_buff_head_alloc(du_buff_t * dub, size_t size);
-int du_buff_tail_alloc(du_buff_t * dub, size_t size);
+uint8_t * du_buff_head_alloc(du_buff_t * dub, size_t size);
+uint8_t * du_buff_tail_alloc(du_buff_t * dub, size_t size);
int du_buff_head_release(du_buff_t * dub, size_t size);
int du_buff_tail_release(du_buff_t * dub, size_t size);