9#ifndef LTTNG_MAP_CHANNEL_H
10#define LTTNG_MAP_CHANNEL_H
12#include <lttng/lttng-export.h>
13#include <lttng/map/channel-type.h>
14#include <lttng/map/channel-update-policy.h>
15#include <lttng/map/group-set.h>
16#include <lttng/map/group.h>
17#include <lttng/map/key-set.h>
18#include <lttng/map/key-type.h>
19#include <lttng/map/value-type.h>
165 uint64_t *max_key_count);
enum lttng_map_channel_status lttng_map_channel_get_keys(const struct lttng_map_channel *channel, struct lttng_map_key_set **keys)
Sets *keys to the current set of keys of channel.
enum lttng_map_channel_status lttng_map_channel_get_groups(const struct lttng_map_channel *channel, struct lttng_map_group_set **groups)
Sets *groups to the map groups of channel.
enum lttng_map_channel_status lttng_map_channel_get_update_policy(const struct lttng_map_channel *channel, enum lttng_map_channel_update_policy *policy)
Sets *policy to the update policy property of channel.
enum lttng_map_channel_status lttng_map_channel_get_value_type(const struct lttng_map_channel *channel, enum lttng_map_value_type *value_type)
Sets *value_type to the value type of channel.
lttng_map_channel_update_policy
Update policy of a map channel.
Definition channel-update-policy.h:25
enum lttng_map_channel_status lttng_map_channel_get_shared_group(const struct lttng_map_channel *channel, struct lttng_map_group **group)
Sets *group to the shared map group of channel.
void lttng_map_channel_destroy(struct lttng_map_channel *channel)
Destroys the map channel channel.
enum lttng_map_channel_status lttng_map_channel_get_max_key_count(const struct lttng_map_channel *channel, uint64_t *max_key_count)
Sets *max_key_count to the maximum key count property of channel.
lttng_map_channel_status
Status code for map channel functions.
Definition channel.h:44
enum lttng_map_channel_status lttng_map_channel_get_name(const struct lttng_map_channel *channel, const char **name)
Sets *name to the name of channel.
lttng_map_channel_type
Type of a map channel.
Definition channel-type.h:25
enum lttng_map_channel_status lttng_map_channel_get_type(const struct lttng_map_channel *channel, enum lttng_map_channel_type *type)
Sets *type to the type of channel.
@ LTTNG_MAP_CHANNEL_STATUS_OK
Success.
Definition channel.h:46
@ LTTNG_MAP_CHANNEL_STATUS_NOT_FOUND
No matching map group found.
Definition channel.h:52
@ LTTNG_MAP_CHANNEL_STATUS_ERROR
Other error.
Definition channel.h:55
@ LTTNG_MAP_CHANNEL_STATUS_INVALID_PARAMETER
Unsatisfied precondition.
Definition channel.h:49
lttng_map_value_type
Type of the values of a map.
Definition value-type.h:25
Map channel (opaque type).
Set of map groups (opaque type).
Immutable set of map keys (opaque type).