68 size_t attr_value_len);
81 const char *attr_name,
bool attr_value);
94 const char *attr_name, int64_t attr_value);
107 const char *attr_name,
double attr_value);
120 const char *attr_name,
const char *attr_value);
133 const char *attr_name,
const void *attr_value,
134 size_t attr_value_len);
147 const struct xcm_attr_map *src_map);
167 const char *attr_name,
169 size_t *attr_value_len);
187 const char *attr_name);
205 const char *attr_name);
223 const char *attr_name);
241 const char *attr_name);
258 const char *attr_name);
269 const char *attr_name);
298 const void *attr_value,
299 size_t attr_value_len,
328 const struct xcm_attr_map *attr_map_b);
const bool * xcm_attr_map_get_bool(const struct xcm_attr_map *attr_map, const char *attr_name)
const double * xcm_attr_map_get_double(const struct xcm_attr_map *attr_map, const char *attr_name)
const int64_t * xcm_attr_map_get_int64(const struct xcm_attr_map *attr_map, const char *attr_name)
struct xcm_attr_map * xcm_attr_map_create(void)
void xcm_attr_map_foreach(const struct xcm_attr_map *attr_map, xcm_attr_map_foreach_cb cb, void *user)
void xcm_attr_map_add(struct xcm_attr_map *attr_map, const char *attr_name, enum xcm_attr_type attr_type, const void *attr_value, size_t attr_value_len)
void xcm_attr_map_add_all(struct xcm_attr_map *dst_map, const struct xcm_attr_map *src_map)
struct xcm_attr_map * xcm_attr_map_clone(const struct xcm_attr_map *original)
void xcm_attr_map_add_str(struct xcm_attr_map *attr_map, const char *attr_name, const char *attr_value)
const char * xcm_attr_map_get_bin(const struct xcm_attr_map *attr_map, const char *attr_name)
void xcm_attr_map_add_int64(struct xcm_attr_map *attr_map, const char *attr_name, int64_t attr_value)
bool xcm_attr_map_equal(const struct xcm_attr_map *attr_map_a, const struct xcm_attr_map *attr_map_b)
void xcm_attr_map_del(struct xcm_attr_map *attr_map, const char *attr_name)
void xcm_attr_map_add_double(struct xcm_attr_map *attr_map, const char *attr_name, double attr_value)
const char * xcm_attr_map_get_str(const struct xcm_attr_map *attr_map, const char *attr_name)
void(* xcm_attr_map_foreach_cb)(const char *attr_name, enum xcm_attr_type attr_type, const void *attr_value, size_t attr_value_len, void *user)
Definition xcm_attr_map.h:296
size_t xcm_attr_map_size(const struct xcm_attr_map *attr_map)
void xcm_attr_map_add_bool(struct xcm_attr_map *attr_map, const char *attr_name, bool attr_value)
void xcm_attr_map_add_bin(struct xcm_attr_map *attr_map, const char *attr_name, const void *attr_value, size_t attr_value_len)
void xcm_attr_map_destroy(struct xcm_attr_map *attr_map)
bool xcm_attr_map_exists(const struct xcm_attr_map *attr_map, const char *attr_name)
const void * xcm_attr_map_get(const struct xcm_attr_map *attr_map, const char *attr_name, enum xcm_attr_type *attr_type, size_t *attr_value_len)
XCM attribute value type definitions.
xcm_attr_type
Definition xcm_attr_types.h:18