Commit f69ec467 authored by François Grisez's avatar François Grisez

Add a function to inster a buffer into a queue before any element

parent 28a90c86
......@@ -47,6 +47,11 @@ static MS2_INLINE void ms_queue_put(MSQueue *q, mblk_t *m){
static MS2_INLINE void ms_queue_insert(MSQueue *q, mblk_t *em, mblk_t *m) {
insq(&q->q, em, m);
static MS2_INLINE mblk_t * ms_queue_peek_last(MSQueue *q){
return qlast(&q->q);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment