.gitignore: ignore local vscode workspace settings file
[lttng-tools.git] / include / lttng / action / path.h
index 507b4ab49f6a66c889fd6e4f19dd42e5063a8b25..88d8b640d3586e4b9c58afa7d42bbc396cbae421 100644 (file)
@@ -8,8 +8,10 @@
 #ifndef LTTNG_ACTION_PATH_H
 #define LTTNG_ACTION_PATH_H
 
-#include <stdint.h>
+#include <lttng/lttng-export.h>
+
 #include <stddef.h>
+#include <stdint.h>
 
 struct lttng_action_path;
 
@@ -44,27 +46,25 @@ 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(
-               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.
  */
-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.
  */
-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);
+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);
 
 /*
  * 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
 }
This page took 0.025786 seconds and 4 git commands to generate.