1 .TH "HASHKIT_VALUE" "3" "July 05, 2012" "1.0.9" "libmemcached"
3 hashkit_value \- libhashkit Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
34 Generate a value for the given key
37 #include <libhashkit/hashkit.h>
40 .B uint32_t hashkit_value(hashkit_st\fI\ *hash\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP)
43 Compile and link with \-lhashkit
46 The \fI\%hashkit_value()\fP function generates a 32\-bit hash value from the
47 given key and key_length. The hash argument is an initialized hashkit
48 object, and distribution type and hash function is used from this
49 object while generating the value.
55 To find out more information please check:
56 \fI\%http://libmemcached.org/\fP
59 \fIhashkit_create(3)\fP \fIhashkit_set_distribution(3)\fP \fIhashkit_set_hash_fn(3)\fP
63 2011, Brian Aker DataDifferential, http://datadifferential.com/
64 .\" Generated by docutils manpage writer.