Debian Codegraph @

include/db_list.h

raw symbols SCIP
1 /*
2 * AIDE (Advanced Intrusion Detection Environment)
3 *
4 * Copyright (C) 1999-2002, 2010 Rami Lehti, Pablo Virolainen,
5 * Richard van den Berg
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21
22 #ifndef _DB_LIST_H_INCLUDED
23 #define _DB_LIST_H_INCLUDED
24
25 #include <stdio.h> /* for NULL */
26
27 typedef struct db_list{
28 struct db_list* next;
29 struct db_list* prev;
30 struct db_list* head;
31 struct db_list* tail;
32 } db_list;
33
34 /* Only the head knows for sure where the tail is */
35 static db_list* db_list_head=NULL;
36
37 void db_list_append(db_list*item);
38
39 #endif /* _DB_LIST_H_INCLUDED */
40
41