cyclonedds/src/core/ddsc
Erik Boasson 986db690b8 always append 0 byte to user/group/topic data
Changes the semantics of dds_qget_{user,group,topic}data to always
append a 0 byte to any non-empty value without counting it in the size.
(An empty value is always represented by a null pointer and a size of
0).  The advantage is that any code treating the data as the octet
sequence it formally is will do exactly the same, but any code written
with the knowledge that it should be a string can safely interpret it as
one.

Signed-off-by: Erik Boasson <eb@ilities.com>
2019-05-23 18:51:23 +02:00
..
cmake Initial contribution 2018-04-10 17:03:59 +02:00
include always append 0 byte to user/group/topic data 2019-05-23 18:51:23 +02:00
src always append 0 byte to user/group/topic data 2019-05-23 18:51:23 +02:00
tests lift limits on handle allocation and reuse (#95) 2019-05-23 18:51:23 +02:00
CMakeLists.txt lift limits on handle allocation and reuse (#95) 2019-05-23 18:51:23 +02:00