Refactoring: add back constness of public API structures
[lttng-ust.git] / include / ust-dynamic-type.h
CommitLineData
53569322 1/*
c0c0989a 2 * SPDX-License-Identifier: MIT
53569322 3 *
c0c0989a 4 * Copyright (C) 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
53569322
MD
5 */
6
c0c0989a
MJ
7#ifndef _LTTNG_UST_DYNAMIC_TYPE_H
8#define _LTTNG_UST_DYNAMIC_TYPE_H
9
53569322
MD
10#include <lttng/ust-events.h>
11
fa194c41
MJ
12enum lttng_ust_dynamic_type {
13 LTTNG_UST_DYNAMIC_TYPE_NONE,
14 LTTNG_UST_DYNAMIC_TYPE_S8,
15 LTTNG_UST_DYNAMIC_TYPE_S16,
16 LTTNG_UST_DYNAMIC_TYPE_S32,
17 LTTNG_UST_DYNAMIC_TYPE_S64,
18 LTTNG_UST_DYNAMIC_TYPE_U8,
19 LTTNG_UST_DYNAMIC_TYPE_U16,
20 LTTNG_UST_DYNAMIC_TYPE_U32,
21 LTTNG_UST_DYNAMIC_TYPE_U64,
22 LTTNG_UST_DYNAMIC_TYPE_FLOAT,
23 LTTNG_UST_DYNAMIC_TYPE_DOUBLE,
24 LTTNG_UST_DYNAMIC_TYPE_STRING,
25 _NR_LTTNG_UST_DYNAMIC_TYPES,
26};
27
53569322 28int lttng_ust_dynamic_type_choices(size_t *nr_choices,
4e48b5d2 29 const struct lttng_ust_event_field ***choices)
1d18d519 30 __attribute__((visibility("hidden")));
ddabe860 31
4e48b5d2 32const struct lttng_ust_event_field *lttng_ust_dynamic_type_field(int64_t value)
1d18d519 33 __attribute__((visibility("hidden")));
ddabe860 34
4e48b5d2 35const struct lttng_ust_event_field *lttng_ust_dynamic_type_tag_field(void)
1d18d519 36 __attribute__((visibility("hidden")));
53569322
MD
37
38#endif /* _LTTNG_UST_DYNAMIC_TYPE_H */
This page took 0.039859 seconds and 4 git commands to generate.