Server 0.0.1
HTTP/REST server implementation

include/hash/interface/hashable.h

Go to the documentation of this file.
00001 
00024 #ifndef __HASH_INTERFACE_HASHABLE_H__
00025 #define __HASH_INTERFACE_HASHABLE_H__
00026 
00027 #include "class.h"
00028 
00029 typedef unsigned long (* fptr_hashableGetHash)(void *);
00030 typedef void          (* fptr_hashableHandleDouble)(void *, void *);
00031 
00032 extern const struct interface i_Hashable;
00033 
00034 struct i_Hashable {
00035         const struct interface * const _;
00036         fptr_hashableGetHash           getHash;
00037         fptr_hashableHandleDouble      handleDouble;
00038 };
00039 
00040 extern unsigned long hashableGetHash(void *);
00041 extern void          hashableHandleDouble(void *, void *);
00042 
00043 #endif // __HASH_INTERFACE_HASHABLE_H__
00044 
00045 // vim: set ts=4 sw=4:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines