45 static size_t writes(
void *ip,
const uint8_t *bp,
size_t n) {
53 static size_t reads(
void *ip, uint8_t *bp,
size_t n) {
62 static msg_t put(
void *ip, uint8_t b) {
70 static msg_t get(
void *ip) {
77 static const struct NullStreamVMT vmt = {(size_t)0, writes, reads, put,
get};
void nullObjectInit(NullStream *nsp)
Null stream object initialization.
NullStream virtual methods table.
const struct NullStreamVMT * vmt
Virtual Methods Table.
int32_t msg_t
Type of a message.
Null streams structures and macros.