canque_fifo_put_inslot

Name

canque_fifo_put_inslot --  releases slot to further processing

Synopsis

int canque_fifo_put_inslot (struct canque_fifo_t * fifo, struct canque_slot_t * slot);

Arguments

fifo

pointer to the FIFO structure

slot

pointer to the slot previously acquired by canque_fifo_get_inslot.

Return Value

The nonzero return value indicates, that the queue was empty before call to the function. The caller should wake-up output side of the queue.