grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / prefs / wanderer / entryelements.h
blob4e96be5679e18e74e93d231a79f094cdb7eb6948
1 /*
2 Copyright 2004-2007, The AROS Development Team. All rights reserved.
3 This file is part of the Wanderer Preferences program, which is distributed
4 under the terms of version 2 of the GNU General Public License.
6 $Id$
7 */
9 #include <exec/types.h>
10 #include <exec/nodes.h>
11 #include <exec/lists.h>
13 struct EntryElement__Entry
15 struct Node EE_E_Node;
16 IPTR EE_E_ID;
17 char *EE_E_Name;
20 #if !defined(HAVE_ELEMENTFUNCS)
21 extern BOOL EntryElementRegister(struct List *entry_List, ULONG entry_ID, CONST_STRPTR entry_Name);
22 extern ULONG EntryElementCount(struct List *entry_List);
23 extern void EntryElementRemove(struct List *entry_List, ULONG entry_ID);
24 extern IPTR EntryElementFindNode(struct List *entry_List, ULONG entry_ID);
25 extern IPTR EntryElementFindNamedNode(struct List *entry_List, char * entry_Name);
26 extern IPTR GetEntryElementName(IPTR entry);
27 extern IPTR GetEntryElementID(IPTR entry);
28 #endif