nmc-utils  0.1.1
easynmc-bsync.c File Reference

Go to the source code of this file.

Data Structures

struct  easynmc_mbox_data
struct  easynmc_mbox

Enumerations

enum  mbox_status { MBOX_EMPTY = 0, MBOX_NOT_EMPTY = 1 }

Functions

struct easynmc_mboxeasynmc_mbox_new (struct easynmc_handle *h, const char *section)
int easynmc_mbox_available (struct easynmc_sync *s)
void easynmc_mbox_free (struct easynmc_sync *s)
int easynmc_mbox_post (struct easynmc_sync *s, uint32_t *data, uint32_t len)
int easynmc_mbox_post_noblock (struct easynmc_sync *s, uint32_t *data, uint32_t len)
int easynmc_mbox_recv (struct easynmc_sync *s, uint32_t *data, uint32_t *len)
int easynmc_mbox_recv_nonblock (struct easynmc_sync *s, uint32_t *data, uint32_t len)
int easynmc_mbox_get_size (struct easynmc_sync *s)
uint32_t * easynmc_mbox_get_buffer (struct easynmc_sync *s)
void easynmc_mbox_set_status (struct easynmc_sync *s)
int easynmc_mbox_get_status (struct easynmc_sync *s)