Fixes for compiling on 64bit and outside the source dir
[AROS.git] / tools / toollib / hash.h
blob871911b96f30e807bb2da375d5942b19f8542cda
1 #ifndef TOOLLIB_HASH_H
2 #define TOOLLIB_HASH_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #ifndef TOOLLIB_TOOLLIB_H
10 # include <toollib/toollib.h>
11 #endif
12 #ifndef TOOLLIB_CALLBACK_H
13 # include <toollib/callback.h>
14 #endif
16 typedef struct _Hash Hash;
18 Hash * Hash_New (void);
19 void Hash_Delete (Hash *, CB delNode, CBD userdata);
20 void Hash_Store (Hash *, const char * key, const void * data);
21 void Hash_StoreNC (Hash *, const char * key, const void * data);
22 void * Hash_Find (Hash *, const char * key);
23 void * Hash_FindNC (Hash *, const char * key);
24 void Hash_Traverse (Hash *, CB traverseProc, CBD userdata);
26 #endif /* TOOLLIB_HASH_H */