X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Faction%2Faction.h;h=6e303f4414527441e515754d2ff824cdf07dccea;hb=HEAD;hp=cd3857d7222d7f1d8f780cbf473dce43e550c3da;hpb=7c2fae7c05b6eb686317f9c443366f046f0a2757;p=lttng-tools.git diff --git a/include/lttng/action/action.h b/include/lttng/action/action.h index cd3857d72..6e303f441 100644 --- a/include/lttng/action/action.h +++ b/include/lttng/action/action.h @@ -8,6 +8,8 @@ #ifndef LTTNG_ACTION_H #define LTTNG_ACTION_H +#include + struct lttng_action; #ifdef __cplusplus @@ -37,13 +39,12 @@ enum lttng_action_status { * * Returns the type of an action on success, LTTNG_ACTION_TYPE_UNKNOWN on error. */ -extern enum lttng_action_type lttng_action_get_type( - const struct lttng_action *action); +LTTNG_EXPORT extern enum lttng_action_type lttng_action_get_type(const struct lttng_action *action); /* * Destroy (frees) an action object. */ -extern void lttng_action_destroy(struct lttng_action *action); +LTTNG_EXPORT extern void lttng_action_destroy(struct lttng_action *action); #ifdef __cplusplus }