#include <lttng/constant.h>
#include <common/macros.h>
+#include <lttng/session.h>
#ifdef __cplusplus
extern "C" {
LTTNG_TRACKER_ID_STATUS_UNSET = 1,
};
-struct lttng_handle;
struct lttng_tracker_id;
struct lttng_tracker_ids;
/*
* Get the number of tracker id in a tracker id list.
+ *
+ * Return LTTNG_TRACKER_ID_STATUS on sucess,
+ * LTTNG_TRACKER_ID_STATUS_INVALID when passed invalid parameters.
*/
-extern int lttng_tracker_ids_get_count(const struct lttng_tracker_ids *ids);
+extern enum lttng_tracker_id_status lttng_tracker_ids_get_count(
+ const struct lttng_tracker_ids *ids, unsigned int *count);
/*
* Destroy a tracker id list.