X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fmsgpack.h;h=0d19518dd46b0c1d24eb0402733ec039be68438b;hb=736f2dd654af78b4bce81cf8ba9579370a162a38;hp=f667db6ced654fb1c00e4fa7f3ef749638b25d9a;hpb=de34a55bebcd90795129b7c709815bdddd67ac87;p=lttng-modules.git diff --git a/include/lttng/msgpack.h b/include/lttng/msgpack.h index f667db6c..0d19518d 100644 --- a/include/lttng/msgpack.h +++ b/include/lttng/msgpack.h @@ -58,4 +58,7 @@ int lttng_msgpack_begin_array( struct lttng_msgpack_writer *writer, size_t count); int lttng_msgpack_end_array(struct lttng_msgpack_writer *writer); +int lttng_msgpack_save_writer_pos(struct lttng_msgpack_writer *writer, uint8_t **pos); +int lttng_msgpack_restore_writer_pos(struct lttng_msgpack_writer *writer, uint8_t *pos); + #endif /* _LTTNG_KERNEL_MSGPACK_H */