X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Faction%2Faction.h;h=4d07686687ef01d41121181f8025b9fb01a368ba;hp=311f5a0fb2924872dde21c4e59df4998f3d075a4;hb=e6de708a1e089f7f87be625bd703ff7309939739;hpb=df3c77c8dbbd102718f7149b075ba026d70a9e27 diff --git a/include/lttng/action/action.h b/include/lttng/action/action.h index 311f5a0fb..4d0768668 100644 --- a/include/lttng/action/action.h +++ b/include/lttng/action/action.h @@ -29,9 +29,17 @@ enum lttng_action_type { LTTNG_ACTION_TYPE_NOTIFY = 0, }; +/* + * Get the type of an action. + * + * Returns the type of an action on success, LTTNG_ACTION_TYPE_UNKNOWN on error. + */ extern enum lttng_action_type lttng_action_get_type( struct lttng_action *action); +/* + * Destroy (frees) an action object. + */ extern void lttng_action_destroy(struct lttng_action *action); #ifdef __cplusplus