Lines Matching refs:q_iter
35 typedef struct nodeptr* q_iter; typedef
74 q_iter Q_Iter_Head(queue *q);
75 q_iter Q_Iter_Tail(queue *q);
76 q_iter Q_Iter_Next(q_iter qi);
77 q_iter Q_Iter_Prev(q_iter qi);
78 void* Q_Iter_Get(q_iter qi);
79 int Q_Iter_Put(q_iter qi, void* data); /* not read only! here for completeness. */
80 void* Q_Iter_Del(queue *q, q_iter iter); /* not read only! here for completeness. */
83 #define Q_Iter_Head_F(q) (q ? (q_iter)((queue*)q)->head : NULL)
84 #define Q_Iter_Tail_F(q) (q ? (q_iter)((queue*)q)->tail : NULL)
85 #define Q_Iter_Next_F(qi) (qi ? (q_iter)((node*)qi)->next : NULL)
86 #define Q_Iter_Prev_F(qi) (qi ? (q_iter)((node*)qi)->prev : NULL)