~brianaker/libmemcached/gear-clean

« back to all changes in this revision

Viewing changes to libhashkit/common.h

  • Committer: Brian Aker
  • Date: 2012-09-24 01:36:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1072.
  • Revision ID: brian@tangent.org-20120924013601-4f0zeykol10ka6so
Updates from ddm4

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *
3
3
 *  HashKit library
4
4
 *
5
 
 *  Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
 
5
 *  Copyright (C) 2011 Data Differential, http://datadifferential.com/
6
6
 *
7
7
 *  Redistribution and use in source and binary forms, with or without
8
8
 *  modification, are permitted provided that the following conditions are
37
37
 
38
38
#pragma once
39
39
 
40
 
#include "libhashkit/hashkitcon.h"
 
40
#include <config.h>
41
41
 
42
42
#include <assert.h>
43
43
#include <errno.h>
45
45
#include <stdlib.h>
46
46
#include <math.h>
47
47
 
48
 
#ifndef __WORDSIZE
49
 
# ifdef __MINGW32__
50
 
#  define __WORDSIZE 32
51
 
# endif
52
 
#endif
53
 
 
54
48
#include <libhashkit-1.0/hashkit.h>
55
 
#include "libhashkit/algorithm.h"
56
 
#include "libhashkit/is.h"
57
 
#include "libhashkit/string.h"
58
 
#include "libhashkit/aes.h"
 
49
#include <libhashkit/is.h>
 
50
#include <libhashkit/string.h>
 
51
#include <libhashkit/aes.h>
59
52
 
60
53
#ifdef __cplusplus
61
54
extern "C" {
62
55
#endif
63
56
 
 
57
HASHKIT_LOCAL
64
58
void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
65
59
 
 
60
HASHKIT_LOCAL
66
61
int update_continuum(hashkit_st *hashkit);
67
62
 
68
63
#ifdef __cplusplus