~mordred/libmemcached/merge-vs-work

« back to all changes in this revision

Viewing changes to libhashkit/hashkit.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 18:47:03 UTC
  • Revision ID: mordred@inaugust.com-20110213184703-usxdc2h4do3bnxhx
Build for Visual Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#include <inttypes.h>
17
17
#include <sys/types.h>
18
18
#include <libhashkit/visibility.h>
19
 
#include <libhashkit/configure.h>
20
19
#include <libhashkit/types.h>
21
20
#include <libhashkit/algorithm.h>
22
21
#include <libhashkit/behavior.h>
50
49
} // extern "C"
51
50
#endif
52
51
 
 
52
struct hashkit_function_st
 
53
{
 
54
  hashkit_hash_fn function;
 
55
  void *context;
 
56
};
 
57
 
53
58
struct hashkit_st
54
59
{
55
 
  struct hashkit_function_st {
56
 
    hashkit_hash_fn function;
57
 
    void *context;
58
 
  } base_hash, distribution_hash;
 
60
  struct hashkit_function_st base_hash, distribution_hash;
59
61
 
60
62
  struct {
61
63
    bool is_base_same_distributed:1;