X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=d32d31bc3e845350b5bf1ce0bc6d742c1071a805;hb=1f483f29cd415fdb749a5571d9e1483dd11a2ab0;hp=5b0b8e0bb10f950db7895994f12a158522867398;hpb=983523c4536f12781533124cb8a00a4291b8cf79;p=awesomized%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index 5b0b8e0b..d32d31bc 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -2,7 +2,7 @@ * * HashKit library * - * Copyright (C) 2011 Data Differential, http://datadifferential.com/ + * Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -37,7 +37,7 @@ #pragma once -#include +#include "libhashkit/hashkitcon.h" #include #include @@ -45,19 +45,24 @@ #include #include +#ifndef __WORDSIZE +# ifdef __MINGW32__ +# define __WORDSIZE 32 +# endif +#endif + #include -#include -#include -#include +#include "libhashkit/algorithm.h" +#include "libhashkit/is.h" +#include "libhashkit/string.h" +#include "libhashkit/aes.h" #ifdef __cplusplus extern "C" { #endif -HASHKIT_LOCAL void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result); -HASHKIT_LOCAL int update_continuum(hashkit_st *hashkit); #ifdef __cplusplus