176 char *value,
size_t capacity);
180 void *value,
size_t value_len,
void *cb_data);
This file contains the core Extensible Connection-oriented Messaging (XCM) API.
int xcm_attr_set(struct xcm_socket *socket, const char *name, enum xcm_attr_type type, const void *value, size_t len)
int xcm_attr_get_int64(struct xcm_socket *socket, const char *name, int64_t *value)
int xcm_attr_get_str(struct xcm_socket *socket, const char *name, char *value, size_t capacity)
int xcm_attr_set_int64(struct xcm_socket *socket, const char *name, int64_t value)
void xcm_attr_get_all(struct xcm_socket *socket, xcm_attr_cb cb, void *cb_data)
int xcm_attr_set_str(struct xcm_socket *socket, const char *name, const char *value)
int xcm_attr_set_bool(struct xcm_socket *socket, const char *name, bool value)
int xcm_attr_get(struct xcm_socket *socket, const char *name, enum xcm_attr_type *type, void *value, size_t capacity)
int xcm_attr_get_bool(struct xcm_socket *socket, const char *name, bool *value)
void(* xcm_attr_cb)(const char *attr_name, enum xcm_attr_type type, void *value, size_t value_len, void *cb_data)
Definition xcm_attr.h:179
This file contains type definitions for the XCM attribute access API.
xcm_attr_type
Definition xcm_attr_types.h:18