🔙 Back to main site
LTTng control library C API
stable-2.16
stable-2.14
stable-2.15
stable-2.16
Main Page
Related Pages
Topics
Data Structures
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
17
extern
"C"
{
18
#endif
19
58
LTTNG_EXPORT
extern
enum
lttng_map_key_set_status
lttng_map_key_set_string_get_key_by_string
(
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 */
lttng_map_key_set_string_get_key_by_string
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
lttng_map_key_set_status
Status code for map key set functions.
Definition
key-set.h:38
lttng_map_key_set
Immutable set of map keys (opaque type).
lttng_map_key
Map key (opaque type).
lttng
map
key-set-string.h
Generated by
1.9.8