projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Removing all remnants of const char * in the C++ interface and replacing
[awesomized/libmemcached]
/
docs
/
memcached_generate_hash_value.pod
diff --git
a/docs/memcached_generate_hash_value.pod
b/docs/memcached_generate_hash_value.pod
index 4136526bf36d741a33072910860d7f41c38341aa..dd45ab3ea22b41458d4bdf1996fc821c100367f9 100644
(file)
--- a/
docs/memcached_generate_hash_value.pod
+++ b/
docs/memcached_generate_hash_value.pod
@@
-1,6
+1,6
@@
=head1 NAME
=head1 NAME
-memcached_generate_hash_value
+memcached_generate_hash_value
- Hash a key value
=head1 LIBRARY
=head1 LIBRARY
@@
-15,6
+15,11
@@
C Client Library for memcached (libmemcached, -lmemcached)
size_t key_length,
memcached_hash hash_algorithm);
size_t key_length,
memcached_hash hash_algorithm);
+ uint32_t
+ memcached_generate_hash (memcached_st *ptr,
+ const char *key,
+ size_t key_length);
+
=head1 DESCRIPTION
memcached_generate_hash_value() allows you to hash a key using one of
=head1 DESCRIPTION
memcached_generate_hash_value() allows you to hash a key using one of
@@
-25,6
+30,10
@@
for normal memcache operations.
The allowed hash algorithm constants are listed in the manpage for
memcached_behavior_set().
The allowed hash algorithm constants are listed in the manpage for
memcached_behavior_set().
+memcached_generate_hash() takes a memcached_st struture and produces
+the hash value that would have been generated based on the defaults
+of the memcached_st structure.
+
=head1 RETURN
A 32-bit integer which is the result of hashing the given key.
=head1 RETURN
A 32-bit integer which is the result of hashing the given key.