2 * Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
8 #ifndef LTTNG_ACTION_START_SESSION_INTERNAL_H
9 #define LTTNG_ACTION_START_SESSION_INTERNAL_H
11 #include <sys/types.h>
13 #include <common/macros.h>
16 struct lttng_buffer_view
;
19 * Create a "start session" action from a buffer view.
21 * On success, return the number of bytes consumed from `view`, and the created
22 * action in `*action`. On failure, return -1.
25 extern ssize_t
lttng_action_start_session_create_from_buffer(
26 const struct lttng_buffer_view
*view
,
27 struct lttng_action
**action
);
29 #endif /* LTTNG_ACTION_START_SESSION_INTERNAL_H */
This page took 0.031646 seconds and 6 git commands to generate.