3 int mps_message_send(struct mps_fifo
*fifo
, struct mps_message
*msg
)
7 int mps_message_recv(struct mps_fifo
*fifo
, struct mps_message
*msg
)
9 mps_fifo_out(fifo
, &msg
->header
, sizeof(msg
->header
));
10 mps_fifo_out(fifo
, &msg
->data
, mps_message_size(msg
));
13 struct mps_message
*msg
mps_message_recv_alloc(struct mps_fifo
*fifo
)
15 struct mps_message
*msg
;
17 mps_fifo_out(fifo
, &msg
->header
, sizeof(msg
->header
));
18 mps_fifo_out(fifo
, &msg
->data
, mps_message_size(msg
));
This page took 0.039901 seconds and 5 git commands to generate.