2 * Written by John Walker MM
7 Bacula® - The Network Backup Solution
9 Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
11 The main author of Bacula is Kern Sibbald, with contributions from
12 many others, a complete list can be found in the file AUTHORS.
13 This program is Free Software; you can redistribute it and/or
14 modify it under the terms of version three of the GNU Affero General Public
15 License as published by the Free Software Foundation and included
18 This program is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 General Public License for more details.
23 You should have received a copy of the GNU Affero General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
28 Bacula® is a registered trademark of Kern Sibbald.
29 The licensor of Bacula is the Free Software Foundation Europe
30 (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
31 Switzerland, email:ftf@fsfeurope.org.
35 /* General purpose queue */
38 struct b_queue *qnext, /* Next item in queue */
39 *qprev; /* Previous item in queue */
42 typedef struct b_queue BQUEUE;
46 void qinsert(BQUEUE *qhead, BQUEUE *object);
47 BQUEUE *qnext(BQUEUE *qhead, BQUEUE *qitem);
48 BQUEUE *qdchain(BQUEUE *qitem);
49 BQUEUE *qremove(BQUEUE *qhead);