10#define LTTNG_MAP_KEY_H
12#include <lttng/lttng-export.h>
13#include <lttng/map/key-type.h>
enum lttng_map_key_status lttng_map_key_get_type(const struct lttng_map_key *key, enum lttng_map_key_type *type)
Sets *type to the type of key.
enum lttng_map_key_status lttng_map_key_get_index(const struct lttng_map_key *key, uint64_t *index)
Sets *index to the entry index of key.
lttng_map_key_type
Type of the keys of a map.
Definition key-type.h:25
lttng_map_key_status
Status code for map key property accessors.
Definition key.h:38
@ LTTNG_MAP_KEY_STATUS_OK
Success.
Definition key.h:40
@ LTTNG_MAP_KEY_STATUS_INVALID_PARAMETER
Unsatisfied precondition.
Definition key.h:43