X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Faction%2Fpath.h;fp=include%2Flttng%2Faction%2Fpath.h;h=88d8b640d3586e4b9c58afa7d42bbc396cbae421;hp=6ec91676b9e090f57a5688537a20dda537ec6409;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/include/lttng/action/path.h b/include/lttng/action/path.h index 6ec91676b..88d8b640d 100644 --- a/include/lttng/action/path.h +++ b/include/lttng/action/path.h @@ -9,8 +9,9 @@ #define LTTNG_ACTION_PATH_H #include -#include + #include +#include struct lttng_action_path; @@ -45,22 +46,20 @@ enum lttng_action_path_status { * * The `indexes` are copied internally and can be disposed-of by the caller. */ -LTTNG_EXPORT extern struct lttng_action_path *lttng_action_path_create( - const uint64_t *indexes, size_t index_count); +LTTNG_EXPORT extern struct lttng_action_path *lttng_action_path_create(const uint64_t *indexes, + size_t index_count); /* * Get the count of indexes in an action path. */ -LTTNG_EXPORT extern enum lttng_action_path_status lttng_action_path_get_index_count( - const struct lttng_action_path *path, size_t *index_count); +LTTNG_EXPORT extern enum lttng_action_path_status +lttng_action_path_get_index_count(const struct lttng_action_path *path, size_t *index_count); /* * Get an index from an action path. */ LTTNG_EXPORT extern enum lttng_action_path_status lttng_action_path_get_index_at_index( - const struct lttng_action_path *path, - size_t path_index, - uint64_t *out_index); + const struct lttng_action_path *path, size_t path_index, uint64_t *out_index); /* * Destroy an action path object.