API refactoring: introduce probe context
[lttng-ust.git] / src / lib / lttng-ust / context-provider-internal.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2019 Francis Deslauriers <francis.deslauriers@efficios.com>
5 */
6
7 #ifndef _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H
8 #define _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H
9
10 #include <stddef.h>
11 #include <lttng/ust-events.h>
12
13 void lttng_ust_context_set_event_notifier_group_provider(const char *name,
14 size_t (*get_size)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
15 size_t offset),
16 void (*record)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
17 struct lttng_ust_ring_buffer_ctx *ctx,
18 struct lttng_ust_channel_buffer *chan),
19 void (*get_value)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
20 struct lttng_ust_ctx_value *value),
21 void *priv)
22 __attribute__((visibility("hidden")));
23
24 #endif /* _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H */
This page took 0.029371 seconds and 4 git commands to generate.