semver: 1.0 -> 1
[m6w6/libmemcached] / include / libmemcached-1 / types / hash.h
1 /*
2 +--------------------------------------------------------------------+
3 | libmemcached - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020 Michael Wallner <mike@php.net> |
13 +--------------------------------------------------------------------+
14 */
15
16 #pragma once
17
18 enum memcached_hash_t {
19 MEMCACHED_HASH_DEFAULT = 0,
20 MEMCACHED_HASH_MD5,
21 MEMCACHED_HASH_CRC,
22 MEMCACHED_HASH_FNV1_64,
23 MEMCACHED_HASH_FNV1A_64,
24 MEMCACHED_HASH_FNV1_32,
25 MEMCACHED_HASH_FNV1A_32,
26 MEMCACHED_HASH_HSIEH,
27 MEMCACHED_HASH_MURMUR,
28 MEMCACHED_HASH_JENKINS,
29 MEMCACHED_HASH_MURMUR3,
30 MEMCACHED_HASH_CUSTOM,
31 MEMCACHED_HASH_MAX
32 };
33
34 #ifndef __cplusplus
35 typedef enum memcached_hash_t memcached_hash_t;
36 #endif