Fix: sessiond: erroneous user check logic in session_access_ok
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.h
CommitLineData
d1ba29d2
JG
1/*
2 * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8#ifndef ACTION_EXECUTOR_H
9#define ACTION_EXECUTOR_H
10
11struct action_executor;
12struct notification_thread_handle;
13struct lttng_evaluation;
14struct lttng_trigger;
15struct notification_client_list;
16struct lttng_credentials;
17
18enum action_executor_status {
19 ACTION_EXECUTOR_STATUS_OK,
20 ACTION_EXECUTOR_STATUS_OVERFLOW,
21 ACTION_EXECUTOR_STATUS_ERROR,
22 ACTION_EXECUTOR_STATUS_INVALID,
23};
24
25struct action_executor *action_executor_create(
26 struct notification_thread_handle *handle);
27
28void action_executor_destroy(struct action_executor *executor);
29
30enum action_executor_status action_executor_enqueue(
31 struct action_executor *executor,
32 struct lttng_trigger *trigger,
33 struct lttng_evaluation *evaluation,
34 const struct lttng_credentials *object_creds,
35 struct notification_client_list *list);
36
37#endif /* ACTION_EXECUTOR_H */
This page took 0.034526 seconds and 5 git commands to generate.