Use a "comm" variant of the LTTNG_OPTIONAL helper in sessiond-comm
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 4 Jul 2019 12:59:08 +0000 (08:59 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Jul 2019 19:51:47 +0000 (15:51 -0400)
commit0a30bf9be799ddb162530ea7581172e923055973
tree4af95736553e97e3d493d18ded7cba5f21277f85
parent96b0ecff3ade3c7970d1cc5fb12a50a94c67ee67
Use a "comm" variant of the LTTNG_OPTIONAL helper in sessiond-comm

The LTTNG_OPTIONAL helper is currently communication safe (as long
as LTTNG_PACKED is used). However, this could change in the future.
An LTTNG_OPTIONAL_COMM alias is introduced in order to make it easier
to change the layout of LTTNG_OPTIONAL should it become necessary
in the future.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/optional.h
src/common/sessiond-comm/sessiond-comm.h
This page took 0.027228 seconds and 4 git commands to generate.