2 * Copyright (C) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
17 enum lttng_action_type
{
18 LTTNG_ACTION_TYPE_UNKNOWN
= -1,
19 LTTNG_ACTION_TYPE_NOTIFY
= 0,
23 * Get the type of an action.
25 * Returns the type of an action on success, LTTNG_ACTION_TYPE_UNKNOWN on error.
27 extern enum lttng_action_type
lttng_action_get_type(
28 struct lttng_action
*action
);
31 * Destroy (frees) an action object.
33 extern void lttng_action_destroy(struct lttng_action
*action
);
39 #endif /* LTTNG_ACTION_H */