Commit | Line | Data |
---|---|---|
a58c490f | 1 | /* |
ab5be9fa | 2 | * Copyright (C) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
a58c490f | 3 | * |
ab5be9fa | 4 | * SPDX-License-Identifier: LGPL-2.1-only |
a58c490f | 5 | * |
a58c490f JG |
6 | */ |
7 | ||
8 | #ifndef LTTNG_ACTION_NOTIFY_INTERNAL_H | |
9 | #define LTTNG_ACTION_NOTIFY_INTERNAL_H | |
10 | ||
c9e313bc | 11 | #include <lttng/action/action-internal.hpp> |
28f23191 | 12 | #include <lttng/action/notify.h> |
a58c490f JG |
13 | |
14 | struct lttng_action_notify { | |
15 | struct lttng_action parent; | |
7f4d5b07 | 16 | struct lttng_rate_policy *policy; |
a58c490f JG |
17 | }; |
18 | ||
28f23191 JG |
19 | ssize_t lttng_action_notify_create_from_payload(struct lttng_payload_view *view, |
20 | struct lttng_action **action); | |
869a3c2d | 21 | |
a58c490f | 22 | #endif /* LTTNG_ACTION_NOTIFY_INTERNAL_H */ |