2 * SPDX-License-Identifier: MIT
4 * Copyright 2019 Francis Deslauriers <francis.deslauriers@efficios.com>
7 #ifndef _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H
8 #define _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H
11 #include <lttng/ust-events.h>
13 __attribute__((visibility("hidden")))
14 void lttng_ust_context_set_event_notifier_group_provider(const char *name
,
15 size_t (*get_size
)(struct lttng_ust_ctx_field
*field
, size_t offset
),
16 void (*record
)(struct lttng_ust_ctx_field
*field
,
17 struct lttng_ust_lib_ring_buffer_ctx
*ctx
,
18 struct lttng_ust_channel_buffer
*chan
),
19 void (*get_value
)(struct lttng_ust_ctx_field
*field
,
20 struct lttng_ust_ctx_value
*value
));
22 #endif /* _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H */