projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove struct lttng_handle from tracker.h
[lttng-tools.git]
/
include
/
lttng
/
tracker.h
diff --git
a/include/lttng/tracker.h
b/include/lttng/tracker.h
index a66a2cfce4dea3701fd0cb53fe25329bdd12eb78..51e1680c1e2da197eb6fe5575439c9508a85406c 100644
(file)
--- a/
include/lttng/tracker.h
+++ b/
include/lttng/tracker.h
@@
-20,6
+20,7
@@
#include <lttng/constant.h>
#include <common/macros.h>
#include <lttng/constant.h>
#include <common/macros.h>
+#include <lttng/session.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-49,7
+50,6
@@
enum lttng_tracker_id_status {
LTTNG_TRACKER_ID_STATUS_UNSET = 1,
};
LTTNG_TRACKER_ID_STATUS_UNSET = 1,
};
-struct lttng_handle;
struct lttng_tracker_id;
struct lttng_tracker_ids;
struct lttng_tracker_id;
struct lttng_tracker_ids;
@@
-223,8
+223,12
@@
extern const struct lttng_tracker_id *lttng_tracker_ids_get_at_index(
/*
* Get the number of tracker id in a tracker id list.
/*
* 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.
/*
* Destroy a tracker id list.
This page took
0.025852 seconds
and
5
git commands to generate.