#include <genhash.h>
Public Attributes |
int(* | hashfunc )(const void *, size_t) |
int(* | hasheq )(const void *, size_t, const void *, size_t) |
void *(* | dupKey )(const void *, size_t) |
void *(* | dupValue )(const void *, size_t) |
void(* | freeKey )(void *) |
void(* | freeValue )(void *) |
Detailed Description
Operations on keys and values in the hash table.
Definition at line 40 of file genhash.h.
Member Data Documentation
void*(* hash_ops::dupKey)(const void *, size_t) |
Function to duplicate a key for storage.
Definition at line 52 of file genhash.h.
void*(* hash_ops::dupValue)(const void *, size_t) |
Function to duplicate a value for storage.
Definition at line 56 of file genhash.h.
void(* hash_ops::freeKey)(void *) |
Function to free a key.
Definition at line 60 of file genhash.h.
void(* hash_ops::freeValue)(void *) |
Function to free a value.
Definition at line 64 of file genhash.h.
int(* hash_ops::hasheq)(const void *, size_t, const void *, size_t) |
Function that returns true if the given keys are equal.
Definition at line 48 of file genhash.h.
int(* hash_ops::hashfunc)(const void *, size_t) |
Function to compute a hash for the given value.
Definition at line 44 of file genhash.h.
The documentation for this struct was generated from the following file:
- plugin/innodb_memcached/daemon_memcached/include/memcached/genhash.h