Hide mew 'lttng_msgpack_*' private symbols
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 15 Dec 2020 19:16:19 +0000 (14:16 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Feb 2021 15:32:29 +0000 (10:32 -0500)
Change-Id: Ib5a5aa2f3c84e723972742cb91f78495be086539
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libmsgpack/msgpack.h

index e5c011ea877da7a931885d7bd2dd3bd2abb7d503..3a8335d52efd9865b1228a065a0bfa21d2a059c3 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/types.h>
 #else /* __KERNEL__ */
 #include <stdint.h>
+#include "helper.h"
 #endif /* __KERNEL__ */
 
 struct lttng_msgpack_writer {
@@ -36,26 +37,39 @@ struct lttng_msgpack_writer {
        uint8_t map_nesting;
 };
 
+LTTNG_HIDDEN
 void lttng_msgpack_writer_init(
                struct lttng_msgpack_writer *writer,
                uint8_t *buffer, size_t size);
 
+LTTNG_HIDDEN
 void lttng_msgpack_writer_fini(struct lttng_msgpack_writer *writer);
 
+LTTNG_HIDDEN
 int lttng_msgpack_write_nil(struct lttng_msgpack_writer *writer);
+LTTNG_HIDDEN
 int lttng_msgpack_write_true(struct lttng_msgpack_writer *writer);
+LTTNG_HIDDEN
 int lttng_msgpack_write_false(struct lttng_msgpack_writer *writer);
+LTTNG_HIDDEN
 int lttng_msgpack_write_unsigned_integer(
                struct lttng_msgpack_writer *writer, uint64_t value);
+LTTNG_HIDDEN
 int lttng_msgpack_write_signed_integer(
                struct lttng_msgpack_writer *writer, int64_t value);
+LTTNG_HIDDEN
 int lttng_msgpack_write_double(struct lttng_msgpack_writer *writer, double value);
+LTTNG_HIDDEN
 int lttng_msgpack_write_str(struct lttng_msgpack_writer *writer,
                const char *value);
+LTTNG_HIDDEN
 int lttng_msgpack_begin_map(struct lttng_msgpack_writer *writer, size_t count);
+LTTNG_HIDDEN
 int lttng_msgpack_end_map(struct lttng_msgpack_writer *writer);
+LTTNG_HIDDEN
 int lttng_msgpack_begin_array(
                struct lttng_msgpack_writer *writer, size_t count);
+LTTNG_HIDDEN
 int lttng_msgpack_end_array(struct lttng_msgpack_writer *writer);
 
 #endif /* _LTTNG_UST_MSGPACK_H */
This page took 0.027486 seconds and 4 git commands to generate.