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=6ec91676b9e090f57a5688537a20dda537ec6409;hp=507b4ab49f6a66c889fd6e4f19dd42e5063a8b25;hb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;hpb=657d1bf105996bf8f6e13af697fb1112afa61b28 diff --git a/include/lttng/action/path.h b/include/lttng/action/path.h index 507b4ab49..6ec91676b 100644 --- a/include/lttng/action/path.h +++ b/include/lttng/action/path.h @@ -8,6 +8,7 @@ #ifndef LTTNG_ACTION_PATH_H #define LTTNG_ACTION_PATH_H +#include #include #include @@ -44,19 +45,19 @@ enum lttng_action_path_status { * * The `indexes` are copied internally and can be disposed-of by the caller. */ -extern struct lttng_action_path *lttng_action_path_create( +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. */ -extern enum lttng_action_path_status lttng_action_path_get_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. */ -extern enum lttng_action_path_status lttng_action_path_get_index_at_index( +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); @@ -64,7 +65,7 @@ extern enum lttng_action_path_status lttng_action_path_get_index_at_index( /* * Destroy an action path object. */ -extern void lttng_action_path_destroy(struct lttng_action_path *action_path); +LTTNG_EXPORT extern void lttng_action_path_destroy(struct lttng_action_path *action_path); #ifdef __cplusplus }