/usr/include/libhashkit/digest.h is in libmemcached-dev 0.44-1.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | /* HashKit
* Copyright (C) 2010 Brian Aker
* All rights reserved.
*
* Use and distribution licensed under the BSD license. See
* the COPYING file in the parent directory for full text.
*/
#ifndef HASHKIT_DIGEST_H
#define HASHKIT_DIGEST_H
#ifdef __cplusplus
extern "C" {
#endif
HASHKIT_API
uint32_t hashkit_digest(const hashkit_st *self, const char *key, size_t key_length);
/**
This is a utilitly function provided so that you can directly access hashes with a hashkit_st.
*/
HASHKIT_API
uint32_t libhashkit_digest(const char *key, size_t key_length, hashkit_hash_algorithm_t hash_algorithm);
#ifdef __cplusplus
}
#endif
#endif /* HASHKIT_DIGEST_H */
|