2 * Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
8 #ifndef LTTNG_ACTION_LIST_INTERNAL_H
9 #define LTTNG_ACTION_LIST_INTERNAL_H
11 #include <sys/types.h>
13 #include <common/macros.h>
16 struct lttng_payload_view
;
19 * Create an action list from a payload view.
21 * On success, return the number of bytes consumed from `view`, and the created
22 * group in `*group`. On failure, return -1.
25 extern ssize_t
lttng_action_list_create_from_payload(
26 struct lttng_payload_view
*view
,
27 struct lttng_action
**group
);
30 extern struct lttng_action
*lttng_action_list_borrow_mutable_at_index(
31 const struct lttng_action
*group
, unsigned int index
);
33 #endif /* LTTNG_ACTION_LIST_INTERNAL_H */
This page took 0.035483 seconds and 5 git commands to generate.