Merge in updates to doc/build of memaslap.
authorBrian Aker <brian@tangent.org>
Thu, 2 Jun 2011 21:52:52 +0000 (14:52 -0700)
committerBrian Aker <brian@tangent.org>
Thu, 2 Jun 2011 21:52:52 +0000 (14:52 -0700)
135 files changed:
ChangeLog
docs/man/hashkit_clone.3
docs/man/hashkit_crc32.3
docs/man/hashkit_create.3
docs/man/hashkit_fnv1_32.3
docs/man/hashkit_fnv1_64.3
docs/man/hashkit_fnv1a_32.3
docs/man/hashkit_fnv1a_64.3
docs/man/hashkit_free.3
docs/man/hashkit_functions.3
docs/man/hashkit_hsieh.3
docs/man/hashkit_is_allocated.3
docs/man/hashkit_jenkins.3
docs/man/hashkit_md5.3
docs/man/hashkit_murmur.3
docs/man/hashkit_value.3
docs/man/libhashkit.3
docs/man/libmemcached.3
docs/man/libmemcached_check_configuration.3
docs/man/libmemcached_configuration.3
docs/man/libmemcached_examples.3
docs/man/libmemcachedutil.3
docs/man/memaslap.1
docs/man/memcached.3
docs/man/memcached_add.3
docs/man/memcached_add_by_key.3
docs/man/memcached_analyze.3
docs/man/memcached_append.3
docs/man/memcached_append_by_key.3
docs/man/memcached_auto.3
docs/man/memcached_behavior.3
docs/man/memcached_behavior_get.3
docs/man/memcached_behavior_set.3
docs/man/memcached_callback.3
docs/man/memcached_callback_get.3
docs/man/memcached_callback_set.3
docs/man/memcached_cas.3
docs/man/memcached_cas_by_key.3
docs/man/memcached_clone.3
docs/man/memcached_create.3
docs/man/memcached_decrement.3
docs/man/memcached_decrement_with_initial.3
docs/man/memcached_delete.3
docs/man/memcached_delete_by_key.3
docs/man/memcached_destroy_sasl_auth_data.3
docs/man/memcached_dump.3
docs/man/memcached_fetch.3
docs/man/memcached_fetch_execute.3
docs/man/memcached_fetch_result.3
docs/man/memcached_flush.3
docs/man/memcached_flush_buffers.3
docs/man/memcached_free.3
docs/man/memcached_generate_hash.3
docs/man/memcached_generate_hash_value.3
docs/man/memcached_get.3
docs/man/memcached_get_by_key.3
docs/man/memcached_get_memory_allocators.3
docs/man/memcached_get_sasl_callbacks.3
docs/man/memcached_get_user_data.3
docs/man/memcached_increment.3
docs/man/memcached_increment_with_initial.3
docs/man/memcached_lib_version.3
docs/man/memcached_memory_allocators.3
docs/man/memcached_mget.3
docs/man/memcached_mget_by_key.3
docs/man/memcached_mget_execute.3
docs/man/memcached_mget_execute_by_key.3
docs/man/memcached_pool.3
docs/man/memcached_pool_behavior_get.3
docs/man/memcached_pool_behavior_set.3
docs/man/memcached_pool_create.3
docs/man/memcached_pool_destroy.3
docs/man/memcached_pool_pop.3
docs/man/memcached_pool_push.3
docs/man/memcached_pool_st.3
docs/man/memcached_prepend.3
docs/man/memcached_prepend_by_key.3
docs/man/memcached_quit.3
docs/man/memcached_replace.3
docs/man/memcached_replace_by_key.3
docs/man/memcached_result_cas.3
docs/man/memcached_result_create.3
docs/man/memcached_result_flags.3
docs/man/memcached_result_free.3
docs/man/memcached_result_key_length.3
docs/man/memcached_result_key_value.3
docs/man/memcached_result_length.3
docs/man/memcached_result_st.3
docs/man/memcached_result_value.3
docs/man/memcached_sasl.3
docs/man/memcached_sasl_set_auth_data.3
docs/man/memcached_server_add.3
docs/man/memcached_server_add_unix_socket.3
docs/man/memcached_server_count.3
docs/man/memcached_server_cursor.3
docs/man/memcached_server_list.3
docs/man/memcached_server_list_append.3
docs/man/memcached_server_list_count.3
docs/man/memcached_server_list_free.3
docs/man/memcached_server_push.3
docs/man/memcached_server_st.3
docs/man/memcached_servers.3
docs/man/memcached_servers_parse.3
docs/man/memcached_servers_reset.3
docs/man/memcached_set.3
docs/man/memcached_set_by_key.3
docs/man/memcached_set_memory_allocators.3
docs/man/memcached_set_memory_allocators_context.3
docs/man/memcached_set_sasl_callbacks.3
docs/man/memcached_set_user_data.3
docs/man/memcached_stat.3
docs/man/memcached_stat_execute.3
docs/man/memcached_stat_get_keys.3
docs/man/memcached_stat_get_value.3
docs/man/memcached_stat_servername.3
docs/man/memcached_stats.3
docs/man/memcached_strerror.3
docs/man/memcached_user_data.3
docs/man/memcached_verbosity.3
docs/man/memcached_version.3
docs/man/memcapable.1
docs/man/memcat.1
docs/man/memcp.1
docs/man/memdump.1
docs/man/memerror.1
docs/man/memflush.1
docs/man/memrm.1
docs/man/memslap.1
docs/man/memstat.1
libmemcached/hosts.cc
libmemcached/options/parser.am
libmemcached/options/parser.yy [deleted file]
libmemcached/options/scanner.l [deleted file]
libmemcached/server.h
support/libmemcached.spec.in

index afbfce1af91ab5235b5e40b2b0bf4371249c0abf..388721a710c0d7edb7d48a54300098e1fbbb1233 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,8 +7,9 @@
   * New error system.
   * New flow control for messages means faster get/set calls.
   * Added new documentation system.
+  * A behavior change has been now made that if you specify a weight for any
+  server, we enable the weight flag and do weight balancing.
   * A behavior change has been now made that if you specify a weight for any server, we enable the weight flag and do weight balancing.  
-  
   * Added MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS to simplify the setting of AUTO REJECT for servers.
 
 0.48 Tue Mar 15 23:05:18 PDT 2011
index d0653151365cfebf46075be8d9def063e18cd09f..b66ecb74b1d434bbd9fe53945b00567cb77ee358 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CLONE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_CLONE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_clone \- libhashkit Documentation
 .
index e024608d715f24166b587b601f7e92248db34d0a..69b89f726ea640d3bbc86422d2de7cfaae3b0d4f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CRC32" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_CRC32" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_crc32 \- libhashkit Documentation
 .
index ed937ca94629ff67914f6d766af0e7138a65f045..3a6436e6e7afada95e75da126cc1acc04874cd33 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_CREATE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_CREATE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_create \- libhashkit Documentation
 .
index d00ebbedb7f57c0321ccdcf1bb5dba58a95b947f..d725cd02f7529c0860e3219ed4a5265fbe8c29da 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1_32" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_FNV1_32" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_fnv1_32 \- libhashkit Documentation
 .
index c3e7fa2e446b0281b14e889a3861ff04b30c4dca..93775164c945a5c04215a6efab40a1aac300dab5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1_64" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_FNV1_64" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_fnv1_64 \- libhashkit Documentation
 .
index 2f2bec687d43956fe564ca0c7613d5e5dd2129c8..88a90cfe232378d277a2d87ef3451590cdff76ac 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1A_32" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_FNV1A_32" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_fnv1a_32 \- libhashkit Documentation
 .
index a855d7e4365f8c274dae089680cdc542c65cb2c2..95f693fbed3dbcbae7fc117edfcee24e08d883be 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FNV1A_64" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_FNV1A_64" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_fnv1a_64 \- libhashkit Documentation
 .
index 8bfb0a289f77415dc330badd4e2eb7410352eb69..3fe92cb5a2ce253f40aae9d5b0216ced27aaf64e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FREE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_FREE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_free \- libhashkit Documentation
 .
index a71111c2f9fc9c4799e96e09c6a3f1806575a3d0..6ef50638a9c40f9324153196618c22a3813591ea 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_FUNCTIONS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_FUNCTIONS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_functions \- libhashkit Documentation
 .
index 36d54d5e9769368ff6ced7ddeff172ba96d7d00d..7873a98d1ddbb5da34c2964ba187a6ead79c448d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_HSIEH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_HSIEH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_hsieh \- libhashkit Documentation
 .
index 8aea2f7d244ac7f2992cb8b6be932dde9eddace2..e26d354497eae551f955b2ba70f22d916a4e12f1 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_IS_ALLOCATED" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_IS_ALLOCATED" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_is_allocated \- libhashkit Documentation
 .
index 22b60c072056d64c0e117a4bc0708f1e1dd47abb..5f81a29d2635b1d169cd747ee575730d53f71b55 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_JENKINS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_JENKINS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_jenkins \- libhashkit Documentation
 .
index a0bc92ad71bbab5b038e6fe68186729c82fc6092..c87f1fc6527b68db4f32c3160c28da6d2c83a078 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_MD5" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_MD5" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_md5 \- libhashkit Documentation
 .
index 37d555430073db5f7f439ba1699a56ba116d4454..2fb5ab79698898ed9f7083142a01316d17650d16 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_MURMUR" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_MURMUR" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_murmur \- libhashkit Documentation
 .
index a38cadf04f690163cb666e4f0cbbd0743efde82b..33229358a9302b559cb74ac8090c272cc4b12f68 100644 (file)
@@ -1,4 +1,4 @@
-.TH "HASHKIT_VALUE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "HASHKIT_VALUE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 hashkit_value \- libhashkit Documentation
 .
index 2564814386b763782677a3f0ba301792238ed2d8..434e4a5a3a6c6e9ceabbcb6728e1272bb95065e4 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBHASHKIT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "LIBHASHKIT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 libhashkit \- libhashkit Documentation
 .
index 5732607184f2e8b103089305ade4ef4c4b607ecb..cc5d0f18e83acc9bf1694da07064e620229529ae 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "LIBMEMCACHED" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 libmemcached \- Introducing the C Client Library for memcached
 .
index 5acb2957f772e36ad0ebc2c5601a80883bd20283..0cd7bfdd535057d8b8d6d707269200c5254e8c3c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "LIBMEMCACHED_CHECK_CONFIGURATION" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 libmemcached_check_configuration \- libmemcached Documentation
 .
index d33c179f8ce0f32e80c133bd742ab7eb0169d370..8c9104a3327609ba4b809655875d266c35019e6c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_CONFIGURATION" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "LIBMEMCACHED_CONFIGURATION" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 libmemcached_configuration \- libmemcached Documentation
 .
index 45c3da3640f49ea0ec6f07e26bf0162626dae933..02659dfb5f39ccc435d35e98ba04245fb87f5a64 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHED_EXAMPLES" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "LIBMEMCACHED_EXAMPLES" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 libmemcached_examples \- libmemcached Documentation
 .
index f6960ae80418ad3167bf66624a97d66b616cb704..ea5dc494898cbaf85c828b63fb2fcb0edb5321bf 100644 (file)
@@ -1,4 +1,4 @@
-.TH "LIBMEMCACHEDUTIL" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "LIBMEMCACHEDUTIL" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 libmemcachedutil \- libmemcached Documentation
 .
index 243673177931b4db53f78a12b9bfbde739fb6ecb..16c63ec30b55749274970a79961d913e26699402 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMASLAP" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMASLAP" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memaslap \- libmemcached Documentation
 .
index 8afca7c5243328cd4a49d44b4c4d5c1aae66422d..55fff39fa0febce68f254c959632ccc7c6cd9f48 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached \- libmemcached Documentation
 .
index e29bd2a4cd31ad34a052588e153f430e21f33bf0..cfd4c5ab00734d0bb8e2bb989ff6bc0661012826 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ADD" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_ADD" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_add \- Storing and Replacing Data
 .
index 9686ad3dbbfabe99196b5eb3ccb60a737ad57fdf..fcf252353fb2edde166e2cd2a14a3d7f68cb9c13 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ADD_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_ADD_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_add_by_key \- Storing and Replacing Data
 .
index 2917b6e915f57a2bd37030ec21f26bc92c5a96b3..85646ecbb5831bceb0167b97deeaee346148d386 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_ANALYZE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_ANALYZE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_analyze \- libmemcached Documentation
 .
index d41ef68871a450cfbbaaa35d0d1137abd060bac9..d2352dbe03302394bcfde2c95f1ff536124ba0b5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_APPEND" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_APPEND" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_append \- Appending to or Prepending to data on the server
 .
index 006656f59a2a8a54e61e007c614b3afb8d21b2cd..deb9e7bf2ef0add925d4d4570c2a890ca3db3b30 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_APPEND_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_APPEND_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_append_by_key \- Appending to or Prepending to data on the server
 .
index 44f2b2d4b8ea72af97a12e3bca5c4eb012a22dd9..3346948d493b5f53452dcef24aad5af15e33bd6f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_AUTO" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_AUTO" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_auto \- Incrementing and Decrementing Values
 .
index a710f77aa1183f61e25a594255fccae37efad9ce..698b6577d28b27c6f6211cd03d7640992daaff27 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_behavior \- libmemcached Documentation
 .
index 722acfba224a57fa9e5717ba239a9ab42ae15b03..5ef4f76f080ee572509f18ae5b6749cc3f5c86ce 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR_GET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_GET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_behavior_get \- libmemcached Documentation
 .
index 0aa111c66aff407b6db2868c96cffe51adefbb12..c12b807ec44f0b9b174ca751638470bcf5a8b668 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_BEHAVIOR_SET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_BEHAVIOR_SET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_behavior_set \- libmemcached Documentation
 .
index 84338384c5d6cd1743742ebb5945db71db27d842..091984b9058c3f2f0dd16db4b63ec7949a479c30 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_CALLBACK" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_callback \- libmemcached Documentation
 .
index e9285735424e668a1a5e52e7789020094630d406..9aedfd5e74e52995ca481645634ca7178ffb5725 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK_GET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_CALLBACK_GET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_callback_get \- libmemcached Documentation
 .
index ea21198429fc2bae0f5ba8878e01e48d62abc58f..8505c778290d867a94534a2047c7ccd074ed2b68 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CALLBACK_SET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_CALLBACK_SET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_callback_set \- libmemcached Documentation
 .
index 5e81881c279be041b02eb7d8f328560e4c4abdd9..1d2b26117cdb8ee49a8f90f2a85731d42794a8bd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CAS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_CAS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_cas \- Working with data on the server in an atomic fashion
 .
index bd0bfb2ce9a5db7a5ab1a406d6802b2c089f5f65..7a6ef91145488d7c949898aeb9923d598c69dd49 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CAS_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_CAS_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_cas_by_key \- Storing and Replacing Data
 .
index 4da24c67e5b7a0b1dfed3a535a838b7561146642..042831000dbd63701d88683328cc756facc0acdc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CLONE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_CLONE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_clone \- libmemcached Documentation
 .
index 266d8c0e96160f36d1f429541b3c5037d1abcbc4..5e807dece3a50a93386c22e62d872b54568eef42 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_CREATE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_CREATE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_create \- libmemcached Documentation
 .
index ac5855c9cfb958ebb86969c918a4f2ea2ff83fa1..9a86fe09fb92d5c7f80f67b909a1b76ae96223c6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DECREMENT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_DECREMENT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_decrement \- Incrementing and Decrementing Values
 .
index df7409aa72137489f5f54eeb84bd1e2c6dc129e2..888988f2f8d38028e49dda7923b06286e1b37ab5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_DECREMENT_WITH_INITIAL" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_decrement_with_initial \- Incrementing and Decrementing Values
 .
index d9bdaf89f504bc1a9da5e59a09e3403eb328c120..9c88f1e81c58e3ab4343731f2d8a036ada3adf9b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DELETE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_DELETE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_delete \- libmemcached Documentation
 .
index afe0239d7fb5134c4d6ec8351983af472eaebc7f..de365dcf84c387ec09390430463291b1a904342f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DELETE_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_DELETE_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_delete_by_key \- libmemcached Documentation
 .
index 3ff9394c0a71dd0eb4952ac6fca4437e234abd03..1718134f3bcccf58db6acabe160c97a48954fb61 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_DESTROY_SASL_AUTH_DATA" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_destroy_sasl_auth_data \- libmemcached Documentation
 .
index 5888887d6ec0c79f83ebbc37f10e20e08687eeb2..308d169e17330c86e74577719da55515861212bd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_DUMP" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_DUMP" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_dump \- libmemcached Documentation
 .
index ace471eab3341c560bd466d07e9238b4b708a235..ce10c56248f9418347080b740224e680bf0a1639 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_FETCH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_fetch \- Retrieving data from the server
 .
index d2262c6defb3e36d62ab4a47e5c621dd559082f7..71b517941466d788f6d6e9dd96237aa2c50512b9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH_EXECUTE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_FETCH_EXECUTE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_fetch_execute \- Retrieving data from the server
 .
index a762e2a7e2f85edc20b0e411d7bf4b528ce3a280..88ddb77b5ce22994f9a1516c186cf44f0a26c7bb 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FETCH_RESULT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_FETCH_RESULT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_fetch_result \- Retrieving data from the server
 .
index 79cec020d42bcdffd1bd045c147befc8299edd68..54f91e955188428560be52aa128e0335033bea85 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FLUSH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_FLUSH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_flush \- libmemcached Documentation
 .
@@ -43,7 +43,7 @@ Wipe contents of memcached servers
 Compile and link with \-lmemcached
 .SH DESCRIPTION
 .sp
-memcached_flush() is used to wipe clean the contents of memcached(1) servers.
+:c:func::\fImemcached_flush()\fP is used to wipe clean the contents of memcached(1) servers.
 It will either do this immediately or expire the content based on the
 expiration time passed to the method (a value of zero causes an immediate
 flush). The operation is not atomic to multiple servers, just atomic to a
@@ -51,9 +51,9 @@ single server. That is, it will flush the servers in the order that they were
 added.
 .SH RETURN
 .sp
-A value of type \fBmemcached_return_t\fP is returned
+A value of type \fBmemcached_return_t\fP  is returned
 On success that value will be \fBMEMCACHED_SUCCESS\fP.
-Use memcached_strerror() to translate this value to a printable string.
+Use \fBmemcached_strerror()\fP to translate this value to a printable string.
 .SH HOME
 .sp
 To find out more information please check:
index 556fc99db06ad3c8767750acf822b393991830f0..d1ce9fb5a2039acc5208e1d66c81b268af800155 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FLUSH_BUFFERS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_FLUSH_BUFFERS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_flush_buffers \- libmemcached Documentation
 .
index 806c0f2896cb7c22c559e9434304501c74410b2f..4119cb2baaca599352c3e575a58d35bbfc0f8ef7 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_FREE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_FREE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_free \- libmemcached Documentation
 .
index 6f6a2e9d27d628804b2fd4f7e6370d533bacd192..ebf38795d7b1a52ae98985a796fe9ea61be7d28d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GENERATE_HASH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_generate_hash \- Generating hash values directly
 .
index 41b2b05874ca6b8fbb061ba76c994e97d95502bb..3a1a56a1acaed1b3ee4a43e10b49cfe5aafbdb76 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_GENERATE_HASH_VALUE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_generate_hash_value \- Generating hash values directly
 .
index 4acfdec502e519cb9746bbcf9e715611abb438a3..e9f89d68623f0a810b201b6d6e8592dce6d64d8f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_GET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_get \- Retrieving data from the server
 .
index 49857b20acead1acb0f98b8a9ccc710c47d90131..4447f20220340281cd263bda94cf75c9faf95fa7 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_GET_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_get_by_key \- Retrieving data from the server
 .
index 2565aef6616836b67c46333e7fe0cec51b3f6b00..0f2de0b43d21556fe5173addd3ea4c121d06ae08 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_GET_MEMORY_ALLOCATORS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_get_memory_allocators \- libmemcached Documentation
 .
index 2dde727974ae79cc77f86ed50f01b63d56ba331d..6848562b4da4095dc03a44143a2185417ec2162f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_GET_SASL_CALLBACKS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_get_sasl_callbacks \- libmemcached Documentation
 .
index 47b5d2d649c030877cfeed0548b0ac79ed6a55ef..ee89b9c250452236c914e109a4efa4941861b0a5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_GET_USER_DATA" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_GET_USER_DATA" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_get_user_data \- libmemcached Documentation
 .
index 166ac9f8377ca05777945c64363090b4df929f85..4133b9ee65257f7652c76bae234d46ac3c1acd55 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_INCREMENT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_INCREMENT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_increment \- Incrementing and Decrementing Values
 .
index a54b84751c4f5b42d8b7349e7abac04670989c90..9461815b31c695c0076838a9ac759dd36c171cd7 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_INCREMENT_WITH_INITIAL" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_increment_with_initial \- Incrementing and Decrementing Values
 .
index 2d3f56c9ee22403fad0c9f62fddc9729ec356cc1..53e11060df92c761e5d3e9533afd5f3f021fa264 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_LIB_VERSION" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_LIB_VERSION" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_lib_version \- libmemcached Documentation
 .
index 27ca3eda0129124d3b26e87115645deef7512649..43aa1acf139fbd7f11cc960357e4466153917ffe 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_MEMORY_ALLOCATORS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_memory_allocators \- libmemcached Documentation
 .
index 7968bb2063bb60e920937fa4d1085635e6e70ca8..c29feb0c11acba7035fd2f7532f41e6612ce2119 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_MGET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_mget \- Retrieving data from the server
 .
index c87626aca9881896f972bef2e33d367440b44808..72f3a9b11e49c069666129ca05b68c9084c80b76 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_MGET_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_mget_by_key \- Retrieving data from the server
 .
index 02b3846c0a569fcdc25b5a2c7f6a41ec98d75e54..278340f2f6d05415f3d0e5839967a67210fac290 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_EXECUTE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_mget_execute \- Retrieving data from the server
 .
index ec11b3d27f8be832fe0f13f785a6da85b4eba183..ddf52a37f469c39fba261be634a7e4449bff62ee 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_MGET_EXECUTE_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_mget_execute_by_key \- Retrieving data from the server
 .
index 0dfba992836cfd9fa581b9e56915a58987b3e33a..077c7e596477addca6115459b5a7f74dcba9b602 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool \- libmemcached Documentation
 .
index 1d735cb06adbdfd879cbb20ef6638d1f253f393c..772ee3c6a93a16ad2330328898c80b8ea57a2665 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_GET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool_behavior_get \- libmemcached Documentation
 .
index c0a96a3eb80bd5506918fd91939eb69055d5024a..11f8e6f448fa5f9a79723e7cd78cc396e3e24516 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL_BEHAVIOR_SET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool_behavior_set \- libmemcached Documentation
 .
index 1a09624c168fe884d114338ca541858cd96c63fe..5ee9dcbc0e74b7f01e1eb620e82edc511386842e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_CREATE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL_CREATE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool_create \- libmemcached Documentation
 .
index 73e6ae2eb69b0bb3226f4a98a226c00f972cf868..af3352ec9bd7317533e8151f975005795c20ddec 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_DESTROY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL_DESTROY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool_destroy \- libmemcached Documentation
 .
index 8d5707f96fdd2c9cf28d8fd56e9b5b37e37be739..f42da7bf090fe4e8fe1f1a31d33c0e89f87faed5 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_POP" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL_POP" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool_pop \- libmemcached Documentation
 .
index cfe2a116c3c58eab57a0aff852402a527af31294..79cd992caab36d10bef6df0764c80fedbd2ae63e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_PUSH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL_PUSH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool_push \- libmemcached Documentation
 .
index 9479f5c19b0245dff546c1848af8ebac696334fa..73b53797c5cc04042f91010a53376db0b5e78ac8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_POOL_ST" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_POOL_ST" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_pool_st \- libmemcached Documentation
 .
index 4793e355485ca209fe478c9c145c290814cc93bb..edc8a71ec4d4c555b15966d869b7e7912daabc99 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_PREPEND" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_PREPEND" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_prepend \- Appending to or Prepending to data on the server
 .
index 88b1211b57727e9cf1962d0a0df79ade0db05d8c..86368d319990ca9848fc157112ac83c7b1bdb1ed 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_PREPEND_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_PREPEND_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_prepend_by_key \- Appending to or Prepending to data on the server
 .
index bc0cd76db26b4843bd65dbdc46c25bfb838f4e82..3f35379918e63425969cac5e642a01fe51edcb02 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_QUIT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_QUIT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_quit \- libmemcached Documentation
 .
index d5d85afb9c0a2c8c8c887a0e779e13c1fe05b211..624f46afdac61ac0051d3b83eb31412366dea384 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_REPLACE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_REPLACE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_replace \- Storing and Replacing Data
 .
index a98deb7f60d7411104a424ab8d0b9a54514616cc..64cc4a68e716108fc805954cb6ec1b9fcb1e9035 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_REPLACE_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_REPLACE_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_replace_by_key \- Storing and Replacing Data
 .
index 2d2d586fb3f3c72a434c44aad5c6de1b056e54ba..67e3d9d51073407701063507d97f553e6015847d 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_CAS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_CAS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_cas \- Working with result sets
 .
index 637f254425b16a71a53b53c454d868f31e106819..4d3b2d99ca251dae5a6baf407be4e8e925d95fa0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_CREATE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_CREATE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_create \- Working with result sets
 .
index c3cc27fbc9e917110eb0a88bcb80833fccff8558..b68c76fd74d114960ed19e1905ea0f336c3bc793 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_FLAGS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_FLAGS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_flags \- Working with result sets
 .
index 010f607f312cfe207a6536e47e5ef43275d80ad0..7b3bec2e74248e81529d3885350c87ca983f7382 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_FREE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_FREE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_free \- Working with result sets
 .
index 75394107458525b63c3b1c592808fc5cd6757054..7b57eea2c6a837121363fae141b245e28390f59b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_LENGTH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_key_length \- Working with result sets
 .
index 12551dfdb9b7756f1cb2f51d180cdabb45e948f9..c44354e3eb2b4c90881a6cec951c92006d01d507 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_KEY_VALUE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_key_value \- Working with result sets
 .
index cafac9041c796113a169f666a188bed55a583600..f6353d637d82afcd9f55756b700aeaca8513a2f2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_LENGTH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_LENGTH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_length \- Working with result sets
 .
index f6a554d67c716cbf7bf25a29e4f0073b00f15309..5b621ef5754eea97629d2500166bc98a01858624 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_ST" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_ST" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_st \- Working with result sets
 .
index 5dcd58abb70707dfaa23c8271d4e7636ac8dd28f..a8d958be2d156be5167326a9b590867e2cde96b8 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_RESULT_VALUE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_RESULT_VALUE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_result_value \- Working with result sets
 .
index d969b9d8539b43548ae938a6612295d89a6677e6..e24bb99c3542644deef0ee930b7d18b89d1c97b3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SASL" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SASL" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_sasl \- libmemcached Documentation
 .
index 024eb07a55fb5bd4d931823255f95dfc2534db19..adff3c06cb214309df52e4bfc365895108ca161a 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SASL_SET_AUTH_DATA" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_sasl_set_auth_data \- libmemcached Documentation
 .
index 63cdeee9ecb654fee27fb99b4eb50b5d279783f7..5f8281987ffe01b7bca0f3d651fdad92b90cbb42 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ADD" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_add \- libmemcached Documentation
 .
index c6976d7af00e4e560d3d38a098049c302e98cd05..88db673881339565283f404f32faaabf967ee28c 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_ADD_UNIX_SOCKET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_add_unix_socket \- libmemcached Documentation
 .
index c2c42c7e36f28912cfc16936733ef318ffac154c..cbd108c94d716c24c0c990fffe57a255d30b50d6 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_COUNT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_COUNT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_count \- libmemcached Documentation
 .
index 773ea94433e8070f977ae9d263f3bb41bd116ca2..f5f29f538b3e85fd190d001c01510bb5730e4dcd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_CURSOR" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_CURSOR" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_cursor \- libmemcached Documentation
 .
index 3666223a3afefa77fae81815928457c0ff681676..f23eff77094b1467ba121f79329f8d5db0a06b48 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_list \- libmemcached Documentation
 .
index c2a0c13b52d924098d0236ab1eadb266d2e18f1b..9a4df3c3f854256aa1db952bed85101495d57084 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_APPEND" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_list_append \- libmemcached Documentation
 .
index f67b1a0dbf9a1f1385138b89f2240624b4b0ad2a..ddfda4a7302ea851ae9206f9f52b8f89999ca1c3 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_COUNT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_list_count \- libmemcached Documentation
 .
index fdbd78b685ce5ac834374930ecb95afbe2f3ad50..5d50cf47b717bd1949ed4b5762b61e9a79f0bf96 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_LIST_FREE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_LIST_FREE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_list_free \- libmemcached Documentation
 .
index 9c66815c607f2ed63dd1138ed8dcf0cd76132fa0..22addfda1310fd73ab957aabe4948eba71cb4fa1 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_PUSH" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_PUSH" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_push \- libmemcached Documentation
 .
index 4a4ee67c6a33357e5b7f047d6cb0507d279756e3..6bb0dc4307b274d3fc50a7b70bf2dd109b2575bc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVER_ST" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVER_ST" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_server_st \- libmemcached Documentation
 .
index b73e4bfe6584a4e90c1fde6877490c0d715214ad..b78ec6fd71c24008afcf5d308832a21d381a4bbd 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVERS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_servers \- libmemcached Documentation
 .
index f9d90c740e6b74945142afa7b1ca0c02ddf9fb68..9910686ce4a70315dff6aa07651320792035e8bc 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS_PARSE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVERS_PARSE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_servers_parse \- libmemcached Documentation
 .
index 8b7f487850200aa48f068e3f67b187993016434e..0828ca8b82ab16d01369829eda9d1b086b9d39a9 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SERVERS_RESET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SERVERS_RESET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_servers_reset \- libmemcached Documentation
 .
index 9a1666cfbece3d217b6c0ddced522a4916974842..56178259032cddbf681ae030568c7dec18167766 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SET" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_set \- Storing and Replacing Data
 .
index 26dfd447e2822cfbbd713adbb5a5fe5efcded6f9..fc529a5fb669f66a6e939fe6764547f2a3ed0141 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_BY_KEY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SET_BY_KEY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_set_by_key \- Storing and Replacing Data
 .
index 92a0967c703c979df22f222c6f743e99e0d7183f..17fe829e81529d23af80a430126c7f5d20bcef5e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_set_memory_allocators \- libmemcached Documentation
 .
index 7208433a182601e61ee7c23c7653bd6d41507dfb..410d24c2011522d65c198f39c746454da6dc66aa 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SET_MEMORY_ALLOCATORS_CONTEXT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_set_memory_allocators_context \- libmemcached Documentation
 .
index 42f83e11200966058e542c29ebb5b9eb4c95acc2..4a64db35998e050cfb87b88a7f37b815eaf99976 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SET_SASL_CALLBACKS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_set_sasl_callbacks \- libmemcached Documentation
 .
index 833e006a02f7315a77f02865d27c88582ea5b5c6..b4dd48d3b749070b0346bad1340f9a3fcacdc699 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_SET_USER_DATA" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_SET_USER_DATA" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_set_user_data \- libmemcached Documentation
 .
index bb5f74ff2c5fd7853a11789cf7d85af2ba4265eb..f8736919d887ef2d58d38964c54adf3c26ff9514 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_STAT" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_stat \- libmemcached Documentation
 .
index efd6ea22efa4aa9012fd17cfa8c02cebb8d99472..edd4abc909dbabb7c4044a2c5282217aaef8dcf0 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_EXECUTE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_STAT_EXECUTE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_stat_execute \- libmemcached Documentation
 .
index 2c940cfd3a6d8303e023c43db250f9bfb2feb8b0..624924a923ae565e98dbd9db8c2890fb99c2f504 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_GET_KEYS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_STAT_GET_KEYS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_stat_get_keys \- libmemcached Documentation
 .
index 9833d4b675ce8ebf00160bc49f4b36926f6e8396..934bfae323f1fc0b50d22e4aa7e14a06a12f6f08 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_GET_VALUE" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_STAT_GET_VALUE" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_stat_get_value \- libmemcached Documentation
 .
index f3285d0e6bb4befa56323e8fa73a13dcdc058f45..c21f0489a2e19ff04c01dfc3070873784302f60e 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STAT_SERVERNAME" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_STAT_SERVERNAME" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_stat_servername \- libmemcached Documentation
 .
index 947d3e9377c4af425e2641d130b32093e34e76e3..8620b23c32ae5db1abc5de6e93edc0df56fac91f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STATS" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_STATS" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_stats \- libmemcached Documentation
 .
index a3ee41b558b79bc292420554f81f5aa431e273cf..bfaba037ba2cb55e917464c758bfbcb145169833 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_STRERROR" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_STRERROR" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_strerror \- libmemcached Documentation
 .
index f2e34757f4ea500627a8e936e7ddc4a6738b1fcc..727bcb6c83df9ec05280a897aeaff6c394de8070 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_USER_DATA" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_USER_DATA" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_user_data \- libmemcached Documentation
 .
index 45a857ac4f9b3f65cf2405bd0e84f2535d9487e7..f2af7dd76bc79c03a14bdace9c371ca39e9f26ba 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_VERBOSITY" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_VERBOSITY" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_verbosity \- libmemcached Documentation
 .
index b0e218d4acc55d99eda10c5d6dc9fd5c51db77cd..fb5de951b55489861d9ca41e1b5aa38ed37b869b 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCACHED_VERSION" "3" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCACHED_VERSION" "3" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcached_version \- libmemcached Documentation
 .
index d613ae5fcba48f258760b9a49abbae22e82e679f..2d7ae40a1d0a841091b51b429220471fd4c630d2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCAPABLE" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCAPABLE" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcapable \- libmemcached Documentation
 .
index ff516f6039385aaee8ae756d28d751ebfb5eb66b..aa51cd06fe6c3c848232bd4a7c4abfc95b8f737f 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCAT" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCAT" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcat \- libmemcached Documentation
 .
index f2f10bfa22e833fc3f3e778ef0cc6759751fe169..40056375d61fe7181f713fe597c772a7cb1914a2 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMCP" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMCP" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memcp \- libmemcached Documentation
 .
index 72eedbfdf0e43f49463d150477faa7d245121ef0..70f3930d08445c0d7adc7d9e1ee5b704d2ad7233 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMDUMP" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMDUMP" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memdump \- libmemcached Documentation
 .
index 0a3671814bf4fb61881f30f07bdf724d0a4307ed..bcc0ab2e0005d5c0e223a72ce03369d88cbddd20 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMERROR" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMERROR" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memerror \- libmemcached Documentation
 .
index 0f6ae5e3a7b5305c84bc8b715e29ae5abdcd87ca..a4cf20b92b6bb65eecb0bca3992e5c3ec63cb032 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMFLUSH" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMFLUSH" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memflush \- libmemcached Documentation
 .
index 830cb9a0e66c3680c1fc74fbbf28a213c87c7b37..168abe27e7505f0fa104c310abb6b97b157a97ca 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMRM" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMRM" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memrm \- libmemcached Documentation
 .
index 891b26623226b8239f18148330bf439c6e89c1dc..a1066c422ebec07927ec7eade59f3702ed10fe03 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMSLAP" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMSLAP" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memslap \- libmemcached Documentation
 .
index 2d77f183102b4a8e38eb449b2583062d95b53e79..447437fdd378d0ab4903e19bf4623de1e82fed57 100644 (file)
@@ -1,4 +1,4 @@
-.TH "MEMSTAT" "1" "May 23, 2011" "0.47" "libmemcached"
+.TH "MEMSTAT" "1" "June 02, 2011" "0.47" "libmemcached"
 .SH NAME
 memstat \- libmemcached Documentation
 .
index 2f600197d7ea9ce6e89ef8bbd95b89b9d07f1583..10af05c8eb83e38f72887450cccf981bbf88e10d 100644 (file)
@@ -259,8 +259,8 @@ static memcached_return_t update_continuum(memcached_st *ptr)
           for (uint32_t x= 0; x < pointer_per_hash; x++)
           {
             uint32_t value= ketama_server_hash(sort_host, (size_t)sort_host_length, x);
-             ptr->ketama.continuum[continuum_index].index= host_index;
-             ptr->ketama.continuum[continuum_index++].value= value;
+            ptr->ketama.continuum[continuum_index].index= host_index;
+            ptr->ketama.continuum[continuum_index++].value= value;
           }
         }
         else
@@ -307,9 +307,9 @@ static memcached_return_t update_continuum(memcached_st *ptr)
         {
           for (uint32_t x = 0; x < pointer_per_hash; x++)
           {
-             uint32_t value= ketama_server_hash(sort_host, (size_t)sort_host_length, x);
-             ptr->ketama.continuum[continuum_index].index= host_index;
-             ptr->ketama.continuum[continuum_index++].value= value;
+            uint32_t value= ketama_server_hash(sort_host, (size_t)sort_host_length, x);
+            ptr->ketama.continuum[continuum_index].index= host_index;
+            ptr->ketama.continuum[continuum_index++].value= value;
           }
         }
         else
@@ -494,3 +494,20 @@ static memcached_return_t server_add(memcached_st *ptr, const char *hostname,
 
   return run_distribution(ptr);
 }
+
+memcached_return_t memcached_server_add_parsed(memcached_st *ptr,
+                                               const char *hostname,
+                                               size_t hostname_length,
+                                               in_port_t port,
+                                               uint32_t weight)
+{
+  char buffer[NI_MAXHOST];
+
+  memcpy(buffer, hostname, hostname_length);
+  buffer[hostname_length]= 0;
+
+  return server_add(ptr, buffer,
+                    port,
+                    weight,
+                    MEMCACHED_CONNECTION_TCP);
+}
index 7bfd21c7518430ea8be29c8d8d9caf9ef9b5a0db..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,29 +0,0 @@
-#  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
-#
-#  Libmemcached Scanner and Parser
-#
-#  Copyright (C) 2011 DataDifferental, http://datadifferential.com
-#  
-#  This program is free software: you can redistribute it and/or modify
-#  it under the terms of the GNU Affero General Public License as
-#  published by the Free Software Foundation, either version 3 of the
-#  License, or (at your option) any later version.
-#  
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU Affero General Public License for more details.
-#  
-#  You should have received a copy of the GNU Affero General Public License
-#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-
-libmemcached/options/parser.h: libmemcached/options/parser.cc
-
-libmemcached/options/parser.cc: libmemcached/options/parser.yy libmemcached/options/scanner.l libmemcached/options/scanner.h
-       $(AM_V_YACC)$(am__skipyacc) $(YACC) $(YLFLAGS) $(AM_YFLAGS) -o $@ $<
-
-libmemcached/options/scanner.h: libmemcached/options/scanner.cc
-
-libmemcached/options/scanner.cc: libmemcached/options/scanner.l libmemcached/options/parser.yy
-       $(AM_V_GEN)$(LEX) $<
diff --git a/libmemcached/options/parser.yy b/libmemcached/options/parser.yy
deleted file mode 100644 (file)
index 6a7bd9b..0000000
+++ /dev/null
@@ -1,466 +0,0 @@
-/*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
- *
- *  Libmemcached Scanner and Parser
- *
- *  Copyright (C) 2011 DataDifferental, http://datadifferential.com
- *  
- *  This program is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU Affero General Public License as
- *  published by the Free Software Foundation, either version 3 of the
- *  License, or (at your option) any later version.
- *  
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU Affero General Public License for more details.
- *  
- *  You should have received a copy of the GNU Affero General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-%error-verbose
-%debug
-%defines
-%expect 0
-%output "libmemcached/options/parser.cc"
-%defines "libmemcached/options/parser.h"
-%lex-param { yyscan_t *scanner }
-%name-prefix="config_"
-%parse-param { Context *context }
-%parse-param { yyscan_t *scanner }
-%pure-parser
-%require "2.2"
-%start begin
-%verbose
-
-%{
-
-#include <config.h>
-
-#include <stdint.h>
-
-#include <libmemcached/common.h>
-#include <libmemcached/options/context.h>
-#include <libmemcached/options/symbol.h>
-#include <libmemcached/options/scanner.h>
-
-#pragma GCC diagnostic ignored "-Wold-style-cast"
-
-int conf_lex(YYSTYPE* lvalp, void* scanner);
-
-#define parser_abort(A, B) do { (A)->abort((B)); YYABORT; } while (0) 
-
-inline void config_error(Context *context, yyscan_t *scanner, const char *error)
-{
-  if (not context->end())
-    context->abort(error);
-}
-
-%}
-
-%token COMMENT
-%token END
-%token ERROR
-%token RESET
-%token PARSER_DEBUG
-%token INCLUDE
-%token CONFIGURE_FILE
-%token EMPTY_LINE
-%token SERVER
-%token SERVERS
-%token SERVERS_OPTION
-%token UNKNOWN_OPTION
-%token UNKNOWN
-
-/* All behavior options */
-%token BINARY_PROTOCOL
-%token BUFFER_REQUESTS
-%token CONNECT_TIMEOUT
-%token DISTRIBUTION
-%token HASH
-%token HASH_WITH_NAMESPACE
-%token IO_BYTES_WATERMARK
-%token IO_KEY_PREFETCH
-%token IO_MSG_WATERMARK
-%token KETAMA_HASH
-%token KETAMA_WEIGHTED
-%token NOREPLY
-%token NUMBER_OF_REPLICAS
-%token POLL_TIMEOUT
-%token RANDOMIZE_REPLICA_READ
-%token RCV_TIMEOUT
-%token REMOVE_FAILED_SERVERS
-%token RETRY_TIMEOUT
-%token SND_TIMEOUT
-%token SOCKET_RECV_SIZE
-%token SOCKET_SEND_SIZE
-%token SORT_HOSTS
-%token SUPPORT_CAS
-%token USER_DATA
-%token USE_UDP
-%token VERIFY_KEY
-%token _TCP_KEEPALIVE
-%token _TCP_KEEPIDLE
-%token _TCP_NODELAY
-
-/* Callbacks */
-%token NAMESPACE
-
-/* Pool */
-%token POOL_MIN
-%token POOL_MAX
-
-/* Hash types */
-%token MD5
-%token CRC
-%token FNV1_64
-%token FNV1A_64
-%token FNV1_32
-%token FNV1A_32
-%token HSIEH
-%token MURMUR
-%token JENKINS
-
-/* Distributions */
-%token CONSISTENT
-%token MODULA
-%token RANDOM
-
-/* Boolean values */
-%token <boolean> TRUE
-%token <boolean> FALSE
-
-%nonassoc ','
-%nonassoc '='
-
-%token <number> FLOAT
-%token <number> NUMBER
-%token <number> PORT
-%token <number> WEIGHT_START
-%token <server> IPADDRESS
-%token <server> HOSTNAME
-%token <string> STRING
-%token <string> QUOTED_STRING
-%token <string> FILE_PATH
-
-%type <behavior> behavior_boolean
-%type <behavior> behavior_number
-%type <distribution> distribution
-%type <hash> hash
-%type <number> optional_port
-%type <number> optional_weight
-%type <string> string
-
-%%
-
-begin:
-          statement
-        | begin ' ' statement
-        ;
-
-statement:
-         expression
-          { }
-        | COMMENT
-          { }
-        | EMPTY_LINE
-          { }
-        | END
-          {
-            context->set_end();
-            YYACCEPT;
-          }
-        | ERROR
-          {
-            context->rc= MEMCACHED_PARSE_USER_ERROR;
-            parser_abort(context, NULL);
-          }
-        | RESET
-          {
-            memcached_reset(context->memc);
-          }
-        | PARSER_DEBUG
-          {
-            yydebug= 1;
-          }
-        | INCLUDE ' ' string
-          {
-            if ((context->rc= memcached_parse_configure_file(context->memc, $3.c_str, $3.size)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);
-            }
-          }
-        ;
-
-
-expression:
-          SERVER HOSTNAME optional_port optional_weight
-          {
-            if (memcached_failed(context->rc= memcached_server_add_with_weight(context->memc, $2.c_str, $3, $4)))
-            {
-              parser_abort(context, NULL);
-            }
-            context->unset_server();
-          }
-        | SERVER IPADDRESS optional_port optional_weight
-          {
-            if (memcached_failed(context->rc= memcached_server_add_with_weight(context->memc, $2.c_str, $3, $4)))
-            {
-              parser_abort(context, NULL);
-            }
-            context->unset_server();
-          }
-        | CONFIGURE_FILE string
-          {
-            memcached_set_configuration_file(context->memc, $2.c_str, $2.size);
-          }
-        | POOL_MIN NUMBER
-          {
-            context->memc->configure.initial_pool_size= $2;
-          }
-        | POOL_MAX NUMBER
-          {
-            context->memc->configure.max_pool_size= $2;
-          }
-        | behaviors
-        ;
-
-behaviors:
-          NAMESPACE string
-          {
-            if ((context->rc= memcached_set_prefix_key(context->memc, $2.c_str, $2.size)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);;
-            }
-          }
-        | DISTRIBUTION distribution
-          {
-            if ((context->rc= memcached_behavior_set(context->memc, MEMCACHED_BEHAVIOR_DISTRIBUTION, $2)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);;
-            }
-          }
-        | DISTRIBUTION distribution ',' hash
-          {
-            if ((context->rc= memcached_behavior_set(context->memc, MEMCACHED_BEHAVIOR_DISTRIBUTION, $2)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);;
-            }
-            if ((context->rc= memcached_behavior_set_distribution_hash(context->memc, $4)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);;
-            }
-          }
-        | HASH hash
-          {
-            if ((context->rc= memcached_behavior_set(context->memc, MEMCACHED_BEHAVIOR_HASH, $2)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);; 
-            }
-          }
-        | behavior_number NUMBER
-          {
-            if ((context->rc= memcached_behavior_set(context->memc, $1, $2)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);;
-            }
-          }
-        | behavior_boolean
-          {
-            if ((context->rc= memcached_behavior_set(context->memc, $1, true)) != MEMCACHED_SUCCESS)
-            {
-              parser_abort(context, NULL);;
-            }
-          }
-        |  USER_DATA
-          {
-          }
-        ;
-
-behavior_number:
-          REMOVE_FAILED_SERVERS
-          {
-            $$= MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS;
-          }
-        | CONNECT_TIMEOUT
-          {
-            $$= MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT;
-          }
-        | IO_MSG_WATERMARK
-          {
-            $$= MEMCACHED_BEHAVIOR_IO_MSG_WATERMARK;
-          }
-        | IO_BYTES_WATERMARK
-          {
-            $$= MEMCACHED_BEHAVIOR_IO_BYTES_WATERMARK;
-          }
-        | IO_KEY_PREFETCH
-          {
-            $$= MEMCACHED_BEHAVIOR_IO_KEY_PREFETCH;
-          }
-        | NUMBER_OF_REPLICAS
-          {
-            $$= MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS;
-          }
-        | POLL_TIMEOUT
-          {
-            $$= MEMCACHED_BEHAVIOR_POLL_TIMEOUT;
-          }
-        |  RCV_TIMEOUT
-          {
-            $$= MEMCACHED_BEHAVIOR_RCV_TIMEOUT;
-          }
-        |  RETRY_TIMEOUT
-          {
-            $$= MEMCACHED_BEHAVIOR_RETRY_TIMEOUT;
-          }
-        |  SND_TIMEOUT
-          {
-            $$= MEMCACHED_BEHAVIOR_SND_TIMEOUT;
-          }
-        |  SOCKET_RECV_SIZE
-          {
-            $$= MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE;
-          }
-        |  SOCKET_SEND_SIZE
-          {
-            $$= MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE;
-          }
-        ;
-
-behavior_boolean: 
-          BINARY_PROTOCOL
-          {
-            $$= MEMCACHED_BEHAVIOR_BINARY_PROTOCOL;
-          }
-        | BUFFER_REQUESTS
-          {
-            $$= MEMCACHED_BEHAVIOR_BUFFER_REQUESTS;
-          }
-        | HASH_WITH_NAMESPACE
-          {
-            $$= MEMCACHED_BEHAVIOR_HASH_WITH_PREFIX_KEY;
-          }
-        | NOREPLY
-          {
-            $$= MEMCACHED_BEHAVIOR_NOREPLY;
-          }
-        |  RANDOMIZE_REPLICA_READ
-          {
-            $$= MEMCACHED_BEHAVIOR_RANDOMIZE_REPLICA_READ;
-          }
-        |  SORT_HOSTS
-          {
-            $$= MEMCACHED_BEHAVIOR_SORT_HOSTS;
-          }
-        |  SUPPORT_CAS
-          {
-            $$= MEMCACHED_BEHAVIOR_SUPPORT_CAS;
-          }
-        |  _TCP_NODELAY
-          {
-            $$= MEMCACHED_BEHAVIOR_TCP_NODELAY;
-          }
-        |  _TCP_KEEPALIVE
-          {
-            $$= MEMCACHED_BEHAVIOR_TCP_KEEPALIVE;
-          }
-        |  _TCP_KEEPIDLE
-          {
-            $$= MEMCACHED_BEHAVIOR_TCP_KEEPIDLE;
-          }
-        |  USE_UDP
-          {
-            $$= MEMCACHED_BEHAVIOR_USE_UDP;
-          }
-        |  VERIFY_KEY
-          {
-            $$= MEMCACHED_BEHAVIOR_VERIFY_KEY;
-          }
-
-
-optional_port:
-          { $$= MEMCACHED_DEFAULT_PORT;}
-        | PORT
-          { };
-        ;
-
-optional_weight:
-          { $$= 1; }
-        | WEIGHT_START
-          { }
-        ;
-
-hash:
-          MD5
-          {
-            $$= MEMCACHED_HASH_MD5;
-          }
-        | CRC
-          {
-            $$= MEMCACHED_HASH_CRC;
-          }
-        | FNV1_64
-          {
-            $$= MEMCACHED_HASH_FNV1_64;
-          }
-        | FNV1A_64
-          {
-            $$= MEMCACHED_HASH_FNV1A_64;
-          }
-        | FNV1_32
-          {
-            $$= MEMCACHED_HASH_FNV1_32;
-          }
-        | FNV1A_32
-          {
-            $$= MEMCACHED_HASH_FNV1A_32;
-          }
-        | HSIEH
-          {
-            $$= MEMCACHED_HASH_HSIEH;
-          }
-        | MURMUR
-          {
-            $$= MEMCACHED_HASH_MURMUR;
-          }
-        | JENKINS
-          {
-            $$= MEMCACHED_HASH_JENKINS;
-          }
-        ;
-
-string:
-          STRING
-          {
-            $$= $1;
-          }
-        | QUOTED_STRING
-          {
-            $$.c_str= $1.c_str +1; // +1 to move use passed the initial quote
-            $$.size= $1.size -2; // -2 removes the begin and end quote
-          }
-        ;
-
-distribution:
-          CONSISTENT
-          {
-            $$= MEMCACHED_DISTRIBUTION_CONSISTENT;
-          }
-        | MODULA
-          {
-            $$= MEMCACHED_DISTRIBUTION_MODULA;
-          }
-        | RANDOM
-          {
-            $$= MEMCACHED_DISTRIBUTION_RANDOM;
-          }
-        ;
-
-%% 
-
-void Context::start() 
-{
-  config_parse(this, (void **)scanner);
-}
-
diff --git a/libmemcached/options/scanner.l b/libmemcached/options/scanner.l
deleted file mode 100644 (file)
index dd6a9e0..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-/*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
- *
- *  Libmemcached Scanner and Parser
- *
- *  Copyright (C) 2011 DataDifferental, http://datadifferential.com
- * 
- *  This program is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU Affero General Public License as
- *  published by the Free Software Foundation, either version 3 of the
- *  License, or (at your option) any later version.
- * 
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU Affero General Public License for more details.
- * 
- *  You should have received a copy of the GNU Affero General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-%top{
-
-#include <libmemcached/common.h>
-#include <libmemcached/options/context.h>
-#include <libmemcached/options/parser.h>
-#include <libmemcached/options/symbol.h>
-
-#pragma GCC diagnostic ignored "-Wold-style-cast"
-#pragma GCC diagnostic ignored "-Wsign-compare"
-#pragma GCC diagnostic ignored "-Wunused-parameter"
-
-#define YY_EXTRA_TYPE Context*
-
-}
-
-
-%{
-#include <cstdlib>
-#include <cstring>
-
-#define PARAM yyget_extra(yyscanner)
-
-#define get_lex_chars(buffer, result, max_size, context) \
-{ \
-  if (context->pos >= context->length) \
-  { \
-    result= YY_NULL; \
-  } \
-  else \
-  { \
-    result= (int)(context->length - context->pos); \
-    (size_t)result > (size_t)max_size ? result= max_size : 0; \
-    memcpy(buffer, context->buf + context->pos, result); \
-    context->pos += result; \
-  } \
-}
-
-
-#define YY_INPUT(buffer, result, max_size) get_lex_chars(buffer, result, max_size, PARAM)
-
-%}
-
-%option 8bit
-%option bison-bridge
-%option case-insensitive
-%option debug
-%option nounput
-%option noyywrap
-%option outfile="libmemcached/options/scanner.cc" header-file="libmemcached/options/scanner.h"
-%option perf-report
-%option prefix="config_"
-%option reentrant
-
-%%
-
-
-=|,|[ ]       { return yytext[0];}
-
-[[:digit:]]+ { yylval->number= atoi(yytext); return (NUMBER); }
-
-:[[:digit:]]{1,5} { yylval->number= atoi(yytext +1); return PORT; }
-
-"/?"[[:digit:]]{1,5} { yylval->number= atoi(yytext +2); return WEIGHT_START; }
-
-[\t\r\n] ; /* skip whitespace */
-
-
-^#.*$ {
-      return COMMENT;
-    }
-
-"--SERVER="                          { yyextra->begin= yytext; yyextra->set_server(); return SERVER; }
-
-"--BINARY-PROTOCOL"                    { yyextra->begin= yytext; return BINARY_PROTOCOL; }
-"--BUFFER-REQUESTS"                    { yyextra->begin= yytext; return BUFFER_REQUESTS; }
-"--CONFIGURE-FILE="                    { yyextra->begin= yytext; return CONFIGURE_FILE; }
-"--CONNECT-TIMEOUT="                   { yyextra->begin= yytext; return CONNECT_TIMEOUT; }
-"--DISTRIBUTION="                      { yyextra->begin= yytext; return DISTRIBUTION; }
-"--HASH-WITH-NAMESPACE"                { yyextra->begin= yytext; return HASH_WITH_NAMESPACE; }
-"--HASH="                              { yyextra->begin= yytext; return HASH; }
-"--IO-BYTES-WATERMARK="                { yyextra->begin= yytext; return IO_BYTES_WATERMARK; }
-"--IO-KEY-PREFETCH="                   { yyextra->begin= yytext; return IO_KEY_PREFETCH; }
-"--IO-MSG-WATERMARK="          { yyextra->begin= yytext; return IO_MSG_WATERMARK; }
-"--NOREPLY"                         { yyextra->begin= yytext; return NOREPLY; }
-"--NUMBER-OF-REPLICAS="                { yyextra->begin= yytext; return NUMBER_OF_REPLICAS; }
-"--POLL-TIMEOUT="                      { yyextra->begin= yytext; return POLL_TIMEOUT; }
-"--RANDOMIZE-REPLICA-READ"             { yyextra->begin= yytext; return RANDOMIZE_REPLICA_READ; }
-"--RCV-TIMEOUT="                       { yyextra->begin= yytext; return RCV_TIMEOUT; }
-"--REMOVE-FAILED-SERVERS="                     { yyextra->begin= yytext; return REMOVE_FAILED_SERVERS; }
-"--RETRY-TIMEOUT="                     { yyextra->begin= yytext; return RETRY_TIMEOUT; }
-"--SND-TIMEOUT="                       { yyextra->begin= yytext; return SND_TIMEOUT; }
-"--SOCKET-RECV-SIZE="          { yyextra->begin= yytext; return SOCKET_RECV_SIZE; }
-"--SOCKET-SEND-SIZE="          { yyextra->begin= yytext; return SOCKET_SEND_SIZE; }
-"--SORT-HOSTS"                 { yyextra->begin= yytext; return SORT_HOSTS; }
-"--SUPPORT-CAS"                        { yyextra->begin= yytext; return SUPPORT_CAS; }
-"--TCP-KEEPALIVE"                      { yyextra->begin= yytext; return _TCP_KEEPALIVE; }
-"--TCP-KEEPIDLE"                       { yyextra->begin= yytext; return _TCP_KEEPIDLE; }
-"--TCP-NODELAY"                        { yyextra->begin= yytext; return _TCP_NODELAY; }
-"--USE-UDP"                            { yyextra->begin= yytext; return USE_UDP; }
-"--USER-DATA"                  { yyextra->begin= yytext; return USER_DATA; }
-"--VERIFY-KEY"                      { yyextra->begin= yytext; return VERIFY_KEY; }
-
-"--POOL-MIN="                          { yyextra->begin= yytext; return POOL_MIN; }
-"--POOL-MAX="                          { yyextra->begin= yytext; return POOL_MAX; }
-
-"--NAMESPACE="                         { yyextra->begin= yytext; return NAMESPACE; }
-
-INCLUDE           { yyextra->begin= yytext; return INCLUDE; }
-RESET           { yyextra->begin= yytext; return RESET; }
-DEBUG           { yyextra->begin= yytext; return PARSER_DEBUG; }
-SERVERS           { yyextra->begin= yytext; return SERVERS; }
-END           { yyextra->begin= yytext; return END; }
-ERROR           { yyextra->begin= yytext; return ERROR; }
-
-TRUE           { return TRUE; }
-FALSE           { return FALSE; }
-
-
-"--"[[:alnum:]]*   {
-      yyextra->begin= yytext;
-      return UNKNOWN_OPTION;
-    }
-
-CONSISTENT      { return CONSISTENT; }
-MODULA          { return MODULA; }
-RANDOM          { return RANDOM; }
-
-MD5                    { return MD5; }
-CRC                    { return CRC; }
-FNV1_64                        { return FNV1_64; }
-FNV1A_64                       { return FNV1A_64; }
-FNV1_32                        { return FNV1_32; }
-FNV1A_32                       { return FNV1A_32; }
-HSIEH                  { return HSIEH; }
-MURMUR                 { return MURMUR; }
-JENKINS                        { return JENKINS; }
-
-(([[:digit:]]{1,3}"."){3}([[:digit:]]{1,3})) {
-      yylval->server.port= MEMCACHED_DEFAULT_PORT;
-      yylval->server.weight= 1;
-      yylval->server.c_str= yyextra->set_hostname(yytext, yyleng);
-      if (yylval->server.c_str)
-        yylval->server.size= yyleng;
-      return IPADDRESS;
-    }
-
-[[:alnum:]]["."[:alnum:]_-]+[[:alnum:]] {
-      if (yyextra->is_server())
-      {
-        yylval->server.port= MEMCACHED_DEFAULT_PORT;
-        yylval->server.weight= 1;
-        yylval->server.c_str= yyextra->set_hostname(yytext, yyleng);
-        if (yylval->server.c_str)
-          yylval->server.size= yyleng;
-
-        return HOSTNAME;
-      }
-
-      yylval->string.c_str = yytext;
-      yylval->string.size = yyleng;
-
-      return STRING;
-    }
-
-(\".*\") {
-      yylval->string.c_str = yytext;
-      yylval->string.size = yyleng;
-      return QUOTED_STRING;
-    }
-
-.   {
-      yyextra->begin= yytext;
-      return UNKNOWN;
-    }
-
-%%
-
-void Context::init_scanner()
-{
-  yylex_init(&scanner);
-  yyset_extra(this, scanner);
-}
-
-void Context::destroy_scanner()
-{
-  yylex_destroy(scanner);
-}
-
index d4005f89c222cfb456916a2fdacc50e8e887aeae..b04410d64646a47cddf22c50ca740e64bf42cdb6 100644 (file)
@@ -118,6 +118,13 @@ LIBMEMCACHED_API
 memcached_return_t memcached_server_add(memcached_st *ptr,
                                         const char *hostname, in_port_t port);
 
+LIBMEMCACHED_LOCAL
+  memcached_return_t memcached_server_add_parsed(memcached_st *ptr,
+                                                 const char *hostname,
+                                                 size_t hostname_length,
+                                                 in_port_t port,
+                                                 uint32_t weight);
+
 LIBMEMCACHED_API
 memcached_return_t memcached_server_add_udp_with_weight(memcached_st *ptr,
                                                         const char *hostname,
index 10f9eff396db9d781c082fb886d5432d2ac43115..ae710e9d07900472d708df31ac6826ba90fae71a 100644 (file)
@@ -114,10 +114,13 @@ you will need to install %{name}-devel.
 %{_includedir}/libhashkit/strerror.h
 %{_includedir}/libhashkit/types.h
 %{_includedir}/libhashkit/visibility.h
+%{_includedir}/libhashkit/hashkit.hpp
+
 %{_includedir}/libmemcached/allocators.h
 %{_includedir}/libmemcached/analyze.h
 %{_includedir}/libmemcached/array.h
 %{_includedir}/libmemcached/auto.h
+%{_includedir}/libmemcached/basic_string.h
 %{_includedir}/libmemcached/behavior.h
 %{_includedir}/libmemcached/callback.h
 %{_includedir}/libmemcached/configure.h
@@ -146,6 +149,7 @@ you will need to install %{name}-devel.
 %{_includedir}/libmemcached/protocol_handler.h
 %{_includedir}/libmemcached/quit.h
 %{_includedir}/libmemcached/result.h
+%{_includedir}/libmemcached/return.h
 %{_includedir}/libmemcached/sasl.h
 %{_includedir}/libmemcached/server.h
 %{_includedir}/libmemcached/server_list.h