Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / prefs / wanderer / entryelements.h
blob8c6ea08fcdf5330bbeac545580f420983dd249df
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: entryelements.h 26862 2007-09-27 01:02:45Z weissms $
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, char * 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