Move to kernel style SPDX license identifiers
[lttng-tools.git] / include / lttng / action / notify.h
CommitLineData
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_H
9#define LTTNG_ACTION_NOTIFY_H
10
11struct lttng_action;
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
a109f1c6
JG
17/*
18 * Create a newly allocated notification action object.
19 *
20 * A "notify" action will emit a notification to all clients which have an
21 * open notification channel. In order to receive this notification, clients
22 * must have subscribed to a condition equivalent to the one paired to this
23 * notify action in a trigger.
24 *
25 * Returns a new action on success, NULL on failure. This action must be
26 * destroyed using lttng_action_destroy().
27 */
a58c490f
JG
28extern struct lttng_action *lttng_action_notify_create(void);
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif /* LTTNG_ACTION_NOTIFY_H */
This page took 0.041728 seconds and 5 git commands to generate.