LTTng control library C API
Loading...
Searching...
No Matches
key-string.h
1/*
2 * Copyright (C) 2024 Philippe Proulx <eepp@efficios.com>
3 * Copyright (C) 2024 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 *
5 * SPDX-License-Identifier: LGPL-2.1-only
6 *
7 */
8
9#ifndef LTTNG_MAP_KEY_STRING_H
10#define LTTNG_MAP_KEY_STRING_H
11
12#include <lttng/lttng-export.h>
13#include <lttng/map/key.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
51LTTNG_EXPORT extern enum lttng_map_key_status
52lttng_map_key_string_get_string(const struct lttng_map_key *key, const char **str);
53
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* LTTNG_MAP_KEY_STRING_H */
lttng_map_key_status
Status code for map key property accessors.
Definition key.h:38
enum lttng_map_key_status lttng_map_key_string_get_string(const struct lttng_map_key *key, const char **str)
Sets *str to the string of the string map key key.
Map key (opaque type).