Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

hashkit_value (3libmemcached)

Name

hashkit_value - libhashkit Documentation Generate a value for the given key

Synopsis

#include <libhashkit/hashkit.h>

uint32_t      hashkit_value(hashkit_st *hash,      const     char *key,
size_t key_length)

Compile and link with -lhashkit

Description

libmemcached                                      HASHKIT_VALUE(3libmemcached)



NAME
       hashkit_value - libhashkit Documentation

       Generate a value for the given key

SYNOPSIS
       #include <libhashkit/hashkit.h>

       uint32_t      hashkit_value(hashkit_st *hash,      const     char *key,
       size_t key_length)

       Compile and link with -lhashkit

DESCRIPTION
       The hashkit_value() function generates a 32-bit  hash  value  from  the
       given  key  and key_length. The hash argument is an initialized hashkit
       object, and distribution type and  hash  function  is  used  from  this
       object while generating the value.

RETURN VALUE
       A 32-bit hash value.

HOME
       To find out more information please check: http://libmemcached.org/


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | library/libmemcached |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+
SEE ALSO
       hashkit_create(3) hashkit_set_distribution(3) hashkit_set_hash_fn(3)

AUTHOR
       Brian Aker

COPYRIGHT
       2011-2013, Brian Aker DataDifferential, http://datadifferential.com/



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source     was     downloaded    from     https://launchpad.net/libmem-
       cached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz

       Further information about this software can be found on the open source
       community website at http://libmemcached.org/libMemcached.html.



1.0.18                         February 09, 2014
                                                  HASHKIT_VALUE(3libmemcached)