12 #include <sysio/defs.h> 47 TNC_NOT_ENOUGH_MEMORY = -2,
48 TNC_OBJECT_NOT_FOUND = -3,
50 TNC_FILE_NOT_FOUND = -5,
136 ssize_t
iTncWrite (
xTnc *tnc,
const void *buf,
size_t count);
uint16_t crc_tx
received from tx CRC
int iTncSetFdin(xTnc *p, int fdin)
xTnc * xTncNew(size_t iRxBufferSize)
int iTncSetFdout(xTnc *p, int fdout)
int fout
stream used to access the physical output
ssize_t iTncWrite(xTnc *tnc, const void *buf, size_t count)
uint8_t * rxbuf
buffer for payload
uint16_t crc_rx
computed rx CRC
int fin
stream used to access the physical input