projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring: move count to an output parameter
[lttng-tools.git]
/
include
/
lttng
/
tracker.h
diff --git
a/include/lttng/tracker.h
b/include/lttng/tracker.h
index a66a2cfce4dea3701fd0cb53fe25329bdd12eb78..1da12f82be6909bbbf183e449a26fe9647b44530 100644
(file)
--- a/
include/lttng/tracker.h
+++ b/
include/lttng/tracker.h
@@
-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.024193 seconds
and
5
git commands to generate.