1 /*                                                     -*- linux-c -*-
2     Copyright (C) 2004 Tom Szilagyi
3 
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8 
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13 
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 
18     $Id: trashlist.h 1234 2012-02-04 10:27:18Z assworth $
19 */
20 
21 #ifndef AQUALUNG_TRASHLIST_H
22 #define AQUALUNG_TRASHLIST_H
23 
24 typedef struct _trashlist_t {
25   void * ptr;
26   struct _trashlist_t * next;
27 } trashlist_t;
28 
29 
30 trashlist_t * trashlist_new(void);
31 void trashlist_add(trashlist_t * root, void * ptr);
32 void trashlist_free(trashlist_t * root);
33 
34 
35 #endif /* AQUALUNG_TRASHLIST_H */
36 
37 // vim: shiftwidth=8:tabstop=8:softtabstop=8 :
38 
39