canque_flush

Name

canque_flush --  fluesh all ready slots in the edge

Synopsis

int canque_flush (struct canque_edge_t * qedge);

Arguments

qedge

pointer to the edge

Description

Tries to flush all allocated slots from the edge, but there could exist some slots associated to edge which are processed by input or output side and cannot be flushed at this moment.

Return Value

The nonzero value indicates, that queue has not been empty before the function call.