#ifndef LTTNG_TRACKER_INTERNAL_H
#define LTTNG_TRACKER_INTERNAL_H
-#include <lttng/constant.h>
#include <common/macros.h>
+#include <common/dynamic-buffer.h>
+#include <lttng/constant.h>
#include <lttng/tracker.h>
#include <stdbool.h>
struct lttng_tracker_id *lttng_tracker_ids_get_pointer_of_index(
const struct lttng_tracker_ids *list, unsigned int index);
+/*
+ * Serialize a ids collection to a lttng_dynamic_buffer.
+ * Return LTTNG_OK on success, negative lttng error code on error.
+ */
+LTTNG_HIDDEN
+int lttng_tracker_ids_serialize(const struct lttng_tracker_ids *ids,
+ struct lttng_dynamic_buffer *buffer);
+
#endif /* LTTNG_TRACKER_INTERNAL_H */