Commit | Line | Data |
---|---|---|
d8d2416d | 1 | /* |
c0c0989a | 2 | * SPDX-License-Identifier: MIT |
d8d2416d | 3 | * |
c0c0989a | 4 | * Copyright 2019 Francis Deslauriers <francis.deslauriers@efficios.com> |
d8d2416d FD |
5 | */ |
6 | ||
c0c0989a MJ |
7 | #ifndef _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H |
8 | #define _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H | |
9 | ||
d8d2416d FD |
10 | #include <stddef.h> |
11 | #include <lttng/ust-events.h> | |
12 | ||
ddabe860 | 13 | __attribute__((visibility("hidden"))) |
d8d2416d | 14 | void lttng_ust_context_set_event_notifier_group_provider(const char *name, |
daacdbfc MD |
15 | size_t (*get_size)(struct lttng_ust_ctx_field *field, size_t offset), |
16 | void (*record)(struct lttng_ust_ctx_field *field, | |
d8d2416d FD |
17 | struct lttng_ust_lib_ring_buffer_ctx *ctx, |
18 | struct lttng_channel *chan), | |
daacdbfc MD |
19 | void (*get_value)(struct lttng_ust_ctx_field *field, |
20 | struct lttng_ust_ctx_value *value)); | |
d8d2416d FD |
21 | |
22 | #endif /* _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H */ |