LTTng control library C API
Loading...
Searching...
No Matches
key-set-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_SET_STRING_H
10#define LTTNG_MAP_KEY_SET_STRING_H
11
12#include <lttng/lttng-export.h>
13#include <lttng/map/key-set.h>
14#include <lttng/map/key.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
59 const struct lttng_map_key_set *set, const char *str, const struct lttng_map_key **key);
60
62
63#ifdef __cplusplus
64}
65#endif
66
67#endif /* LTTNG_MAP_KEY_SET_STRING_H */
enum lttng_map_key_set_status lttng_map_key_set_string_get_key_by_string(const struct lttng_map_key_set *set, const char *str, const struct lttng_map_key **key)
Sets *key to the string map key in set whose string equals str.
lttng_map_key_set_status
Status code for map key set functions.
Definition key-set.h:38
Immutable set of map keys (opaque type).
Map key (opaque type).