5 Copyright (C) 2000-2006 Kern Sibbald
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 version 2 as amended with additional clauses defined in the
10 file LICENSE in the main source directory.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 the file LICENSE for additional details.
20 /* General purpose queue */
23 struct b_queue *qnext, /* Next item in queue */
24 *qprev; /* Previous item in queue */
27 typedef struct b_queue BQUEUE;
31 void qinsert(BQUEUE *qhead, BQUEUE *object);
32 BQUEUE *qnext(BQUEUE *qhead, BQUEUE *qitem);
33 BQUEUE *qdchain(BQUEUE *qitem);
34 BQUEUE *qremove(BQUEUE *qhead);