Server 0.0.1
HTTP/REST server implementation

include/hash/hash.h

Go to the documentation of this file.
00001 
00023 #ifndef __HASH_HASH_H__
00024 #define __HASH_HASH_H__
00025 
00026 #include <sys/types.h>
00027 
00028 #include "class.h"
00029 
00030 
00031 CLASS(Hash) {
00032         void * root;
00033 };
00034 
00035 void * hashAdd(Hash, void *);
00036 void * hashDelete(Hash, const char *, size_t);
00037 void * hashGet(Hash, const char *, size_t);
00038 void   hashEach(Hash, void (*)(const void*));
00039 
00040 #endif // __HASH_HASH_H__
00041 
00042 // vim: set ts=4 sw=4:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines