61 struct msu_msg_hdr *hdr,
size_t data_size,
void *data);
90 struct msu_msg_hdr *hdr,
size_t data_size,
void *data);
123 struct msu_msg_hdr *hdr,
size_t data_size,
void *data);
137 struct msu_msg_hdr *hdr,
size_t data_size,
void *data);
159 struct msu_msg_hdr *hdr,
size_t data_size,
void *data);
int call_local_msu(struct local_msu *sender, struct local_msu *dest, struct msu_msg_hdr *hdr, size_t data_size, void *data)
Enqueues a message in the queue of a local MSU.
int init_call_msu_type(struct local_msu *sender, struct msu_type *dst_type, struct msu_msg_key *key, size_t data_size, void *data)
Sends an MSU message to a destination of the specified type.
int call_msu_error(struct local_msu *sender, struct msu_endpoint *endpoint, struct msu_type *endpoint_type, struct msu_msg_hdr *hdr, size_t data_size, void *data)
Header for messages passed to MSUs.
Logging of status messages to the terminal.
int schedule_local_msu_init_call(struct local_msu *sender, struct local_msu *dest, struct timespec *interval, struct msu_msg_key *key, size_t data_size, void *data)
Schedules a call to a local MSU to occur at some point in the future.
Declares the structures and functions applicable to MSUs on the local machine.
The structure that represents an MSU located on the local machine.
int schedule_local_msu_call(struct local_msu *sender, struct local_msu *dest, struct timespec *interval, struct msu_msg_hdr *hdr, size_t data_size, void *data)
Schedules a call to a local MSU to occur at some point in the future.
Functions for routing MSU messages between MSUs.
int init_call_local_msu(struct local_msu *sender, struct local_msu *dest, struct msu_msg_key *key, size_t data_size, void *data)
Enqueues a new message in the queue of a local MSU.
int init_call_msu_endpoint(struct local_msu *sender, struct msu_endpoint *endpoint, struct msu_type *endpoint_type, struct msu_msg_key *key, size_t data_size, void *data)
Sends an MSU message to a specific destination, either local or remote.
int call_msu_type(struct local_msu *sender, struct msu_type *dst_type, struct msu_msg_hdr *hdr, size_t data_size, void *data)
Sends an MSU message to a destination of the given type, utilizing the sending MSU's routing function...
int call_msu_endpoint(struct local_msu *sender, struct msu_endpoint *endpoint, struct msu_type *endpoint_type, struct msu_msg_hdr *hdr, size_t data_size, void *data)
Sends an MSU message to a speicific destination, either local or remote.
Used to uniquely identify the source of a message, used in state storage as well as routing...
An endpoint to which an msu_msg can be delivered.
struct msu_msg_key key
Routing/state key.