SYNOPSIS
- ssize_t dvb_ringbuffer_pkt_next(struct dvb_ringbuffer * rbuf, size_t idx, size_t * pktlen);
ARGUMENTS
rbuf
-
- Ringbuffer concerned.
idx
- Previous packet index, or -1 to return the first packet index.
pktlen
- On success, will be updated to contain the length of the packet in bytes. returns Packet index (if >=0), or -1 if no packets available.
COPYRIGHT