Server 0.0.1
HTTP/REST server implementation

src/hash/interface/hashable.c

Go to the documentation of this file.
00001 
00023 #include <stdlib.h>
00024 #include <stdio.h>
00025 #include <stdarg.h>
00026 
00027 #include "class.h"
00028 #include "hash/interface/hashable.h"
00029 
00030 const struct interface i_Hashable = {
00031         "hashable",
00032         2
00033 };
00034 
00035 unsigned long
00036 hashableGetHash(void * hashable)
00037 {
00038         unsigned long ret;
00039 
00040         RETCALL(hashable, Hashable, getHash, ret);
00041 
00042         return ret;
00043 }
00044 
00045 void
00046 hashableHandleDouble(void * hashable, void * new_hashable)
00047 {
00048         CALL(hashable, Hashable, handleDouble, new_hashable);
00049 }
00050 
00051 // vim: set ts=4 sw=4:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines