Rename C++ header files to .hpp
[lttng-tools.git] / include / lttng / action / rotate-session-internal.hpp
CommitLineData
bfb2ec6a
SM
1/*
2 * Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8#ifndef LTTNG_ACTION_ROTATE_SESSION_INTERNAL_H
9#define LTTNG_ACTION_ROTATE_SESSION_INTERNAL_H
10
c9e313bc 11#include <common/macros.hpp>
bfb2ec6a
SM
12
13struct lttng_action;
c0a66c84 14struct lttng_payload_view;
bfb2ec6a
SM
15
16/*
c0a66c84 17 * Create a "rotate session" action from a payload view.
bfb2ec6a
SM
18 *
19 * On success, return the number of bytes consumed from `view`, and the created
20 * action in `*action`. On failure, return -1.
21 */
c0a66c84
JG
22extern ssize_t lttng_action_rotate_session_create_from_payload(
23 struct lttng_payload_view *view,
bfb2ec6a
SM
24 struct lttng_action **action);
25
26#endif /* LTTNG_ACTION_ROTATE_SESSION_INTERNAL_H */
This page took 0.032448 seconds and 4 git commands to generate.