Workaround for includes conflict that stopped compilation with GCC 3.
[cake.git] / rom / isapnp / pnp_iterators.h
blob0de9e1ddfb9a5a84889a90ba30d337b955c4ef63
1 /* $Id: pnp_iterators.h,v 1.4 2001/05/06 23:09:54 lcs Exp $ */
3 /*
4 ISA-PnP -- A Plug And Play ISA software layer for AmigaOS.
5 Copyright (C) 2001 Martin Blom <martin@blom.org>
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
12 This library 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 GNU
15 Library General Public License for more details.
17 You should have received a copy of the GNU Library General Public
18 License along with this library; if not, write to the
19 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
20 MA 02139, USA.
23 #ifndef ISA_PNP_pnp_iterators_h
24 #define ISA_PNP_pnp_iterators_h
26 #include "CompilerSpecific.h"
28 #include <exec/lists.h>
29 #include <exec/nodes.h>
30 #include <exec/types.h>
33 struct ISAPNP_Resource;
34 struct ISAPNPBase;
36 struct ResourceIterator;
37 struct ResourceIteratorList;
38 struct ResourceContext;
41 struct ResourceContext*
42 AllocResourceIteratorContext( void );
44 void
45 FreeResourceIteratorContext( struct ResourceContext* ctx );
49 struct ResourceIteratorList*
50 AllocResourceIteratorList( struct MinList* resource_list,
51 struct ResourceContext* ctx );
54 BOOL
55 FreeResourceIteratorList( struct ResourceIteratorList* list,
56 struct ResourceContext* ctx );
60 BOOL
61 IncResourceIteratorList( struct ResourceIteratorList* iter_list,
62 struct ResourceContext* ctx );
66 struct ISAPNP_Resource*
67 CreateResource( struct ResourceIterator* iter,
68 struct ISAPNPBase* res );
70 BOOL
71 CreateResouces( struct ResourceIteratorList* ril,
72 struct List* result,
73 struct ISAPNPBase* res );
75 #endif /* ISA_PNP_pnp_iterators_h */