int(* recv)(struct network_conn *nwc, char *buffer, size_t buffer_len)
Recv data (at max. buffer_len Bytes) into buffer.
Definition: network.h:51
static volatile char * buffer
Definition: sound.c:61
bool(* send_fmt)(struct network_conn *nwc, char *fmt,...)
Send formatted data (string; see 'man 3 printf')
Definition: network.h:48
void * mdata
Pointer to data to be used by the implemention handling the actual connection.
Definition: network.h:42
void(* disconnect)(struct network_conn *nwc)
Definition: network.h:64
bool(* send)(struct network_conn *nwc, char *buffer, size_t buffer_len)
Send data (buffer_len Bytes) from buffer.
Definition: network.h:45
int(* recv_byte)(struct network_conn *nwc)
Definition: network.h:54