memcached 1.2.6 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. data/CHANGELOG +2 -0
  2. data/Manifest +206 -12
  3. data/Rakefile +32 -1
  4. data/ext/extconf.rb +10 -35
  5. data/ext/libmemcached-0.32/AUTHORS +7 -0
  6. data/ext/libmemcached-0.32/COPYING +32 -0
  7. data/ext/libmemcached-0.32/ChangeLog +303 -0
  8. data/ext/libmemcached-0.32/INSTALL +302 -0
  9. data/ext/libmemcached-0.32/Makefile.am +36 -0
  10. data/ext/libmemcached-0.32/Makefile.in +828 -0
  11. data/ext/libmemcached-0.32/NEWS +1 -0
  12. data/ext/libmemcached-0.32/README +33 -0
  13. data/ext/libmemcached-0.32/THANKS +14 -0
  14. data/ext/libmemcached-0.32/TODO +11 -0
  15. data/ext/libmemcached-0.32/aclocal.m4 +1852 -0
  16. data/ext/libmemcached-0.32/clients/Makefile.am +73 -0
  17. data/ext/libmemcached-0.32/clients/Makefile.in +770 -0
  18. data/ext/libmemcached-0.32/clients/client_options.h +32 -0
  19. data/ext/libmemcached-0.32/clients/execute.c +64 -0
  20. data/ext/libmemcached-0.32/clients/execute.h +5 -0
  21. data/ext/libmemcached-0.32/clients/generator.c +74 -0
  22. data/ext/libmemcached-0.32/clients/generator.h +20 -0
  23. data/ext/libmemcached-0.32/clients/memcat.c +178 -0
  24. data/ext/libmemcached-0.32/clients/memcp.c +251 -0
  25. data/ext/libmemcached-0.32/clients/memdump.c +170 -0
  26. data/ext/libmemcached-0.32/clients/memerror.c +80 -0
  27. data/ext/libmemcached-0.32/clients/memflush.c +143 -0
  28. data/ext/libmemcached-0.32/clients/memrm.c +160 -0
  29. data/ext/libmemcached-0.32/clients/memslap.c +441 -0
  30. data/ext/libmemcached-0.32/clients/memstat.c +326 -0
  31. data/ext/libmemcached-0.32/clients/utilities.c +207 -0
  32. data/ext/libmemcached-0.32/clients/utilities.h +41 -0
  33. data/ext/libmemcached-0.32/config.h.in +252 -0
  34. data/ext/libmemcached-0.32/config/compile +143 -0
  35. data/ext/libmemcached-0.32/config/config.guess +1561 -0
  36. data/ext/libmemcached-0.32/config/config.rpath +666 -0
  37. data/ext/libmemcached-0.32/config/config.sub +1686 -0
  38. data/ext/libmemcached-0.32/config/depcomp +630 -0
  39. data/ext/libmemcached-0.32/config/install-sh +520 -0
  40. data/ext/libmemcached-0.32/config/ltmain.sh +8406 -0
  41. data/ext/libmemcached-0.32/config/missing +376 -0
  42. data/ext/libmemcached-0.32/configure +23048 -0
  43. data/ext/libmemcached-0.32/configure.ac +122 -0
  44. data/ext/libmemcached-0.32/docs/Makefile.am +415 -0
  45. data/ext/libmemcached-0.32/docs/Makefile.in +918 -0
  46. data/ext/libmemcached-0.32/docs/libmemcached.pod +123 -0
  47. data/ext/libmemcached-0.32/docs/libmemcached_examples.pod +115 -0
  48. data/ext/libmemcached-0.32/docs/libmemcachedutil.pod +40 -0
  49. data/ext/libmemcached-0.32/docs/memcached_analyze.pod +52 -0
  50. data/ext/libmemcached-0.32/docs/memcached_auto.pod +97 -0
  51. data/ext/libmemcached-0.32/docs/memcached_behavior.pod +224 -0
  52. data/ext/libmemcached-0.32/docs/memcached_callback.pod +123 -0
  53. data/ext/libmemcached-0.32/docs/memcached_create.pod +61 -0
  54. data/ext/libmemcached-0.32/docs/memcached_delete.pod +54 -0
  55. data/ext/libmemcached-0.32/docs/memcached_dump.pod +53 -0
  56. data/ext/libmemcached-0.32/docs/memcached_flush.pod +46 -0
  57. data/ext/libmemcached-0.32/docs/memcached_flush_buffers.pod +42 -0
  58. data/ext/libmemcached-0.32/docs/memcached_generate_hash_value.pod +57 -0
  59. data/ext/libmemcached-0.32/docs/memcached_get.pod +161 -0
  60. data/ext/libmemcached-0.32/docs/memcached_memory_allocators.pod +73 -0
  61. data/ext/libmemcached-0.32/docs/memcached_pool.pod +77 -0
  62. data/ext/libmemcached-0.32/docs/memcached_quit.pod +47 -0
  63. data/ext/libmemcached-0.32/docs/memcached_sasl.pod +63 -0
  64. data/ext/libmemcached-0.32/docs/memcached_server_st.pod +75 -0
  65. data/ext/libmemcached-0.32/docs/memcached_servers.pod +102 -0
  66. data/ext/libmemcached-0.32/docs/memcached_set.pod +187 -0
  67. data/ext/libmemcached-0.32/docs/memcached_stats.pod +82 -0
  68. data/ext/libmemcached-0.32/docs/memcached_strerror.pod +46 -0
  69. data/ext/libmemcached-0.32/docs/memcached_user_data.pod +49 -0
  70. data/ext/libmemcached-0.32/docs/memcached_verbosity.pod +41 -0
  71. data/ext/libmemcached-0.32/docs/memcached_version.pod +56 -0
  72. data/ext/libmemcached-0.32/docs/memcat.pod +37 -0
  73. data/ext/libmemcached-0.32/docs/memcp.pod +40 -0
  74. data/ext/libmemcached-0.32/docs/memdump.pod +31 -0
  75. data/ext/libmemcached-0.32/docs/memerror.pod +30 -0
  76. data/ext/libmemcached-0.32/docs/memflush.pod +35 -0
  77. data/ext/libmemcached-0.32/docs/memrm.pod +34 -0
  78. data/ext/libmemcached-0.32/docs/memslap.pod +33 -0
  79. data/ext/libmemcached-0.32/docs/memstat.pod +35 -0
  80. data/ext/libmemcached-0.32/libmemcached/Makefile.am +107 -0
  81. data/ext/libmemcached-0.32/libmemcached/Makefile.in +1050 -0
  82. data/ext/libmemcached-0.32/libmemcached/byteorder.c +31 -0
  83. data/ext/libmemcached-0.32/libmemcached/common.h +183 -0
  84. data/ext/libmemcached-0.32/libmemcached/crc.c +86 -0
  85. data/ext/libmemcached-0.32/libmemcached/hsieh_hash.c +68 -0
  86. data/ext/libmemcached-0.32/libmemcached/jenkins_hash.c +213 -0
  87. data/ext/libmemcached-0.32/libmemcached/libmemcached.ver +1 -0
  88. data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.d +28 -0
  89. data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.h +78 -0
  90. data/ext/libmemcached-0.32/libmemcached/md5.c +354 -0
  91. data/ext/libmemcached-0.32/libmemcached/memcached.c +152 -0
  92. data/ext/libmemcached-0.32/libmemcached/memcached.h +302 -0
  93. data/ext/libmemcached-0.32/libmemcached/memcached.hpp +799 -0
  94. data/ext/libmemcached-0.32/libmemcached/memcached/README.txt +7 -0
  95. data/ext/libmemcached-0.32/libmemcached/memcached/protocol_binary.h +366 -0
  96. data/ext/libmemcached-0.32/libmemcached/memcached_allocators.c +72 -0
  97. data/ext/libmemcached-0.32/libmemcached/memcached_analyze.c +100 -0
  98. data/ext/libmemcached-0.32/libmemcached/memcached_auto.c +207 -0
  99. data/ext/libmemcached-0.32/libmemcached/memcached_behavior.c +285 -0
  100. data/ext/libmemcached-0.32/libmemcached/memcached_callback.c +175 -0
  101. data/ext/libmemcached-0.32/libmemcached/memcached_configure.h.in +23 -0
  102. data/ext/libmemcached-0.32/libmemcached/memcached_connect.c +361 -0
  103. data/ext/libmemcached-0.32/libmemcached/memcached_constants.h +145 -0
  104. data/ext/libmemcached-0.32/libmemcached/memcached_delete.c +0 -0
  105. data/ext/libmemcached-0.32/libmemcached/memcached_do.c +34 -0
  106. data/ext/libmemcached-0.32/libmemcached/memcached_dump.c +79 -0
  107. data/ext/libmemcached-0.32/libmemcached/memcached_fetch.c +102 -0
  108. data/ext/libmemcached-0.32/libmemcached/memcached_flush.c +89 -0
  109. data/ext/libmemcached-0.32/libmemcached/memcached_flush_buffers.c +22 -0
  110. data/ext/libmemcached-0.32/libmemcached/memcached_get.c +495 -0
  111. data/ext/libmemcached-0.32/libmemcached/memcached_get.h +87 -0
  112. data/ext/libmemcached-0.32/libmemcached/memcached_hash.c +252 -0
  113. data/ext/libmemcached-0.32/libmemcached/memcached_hosts.c +510 -0
  114. data/ext/libmemcached-0.32/libmemcached/memcached_internal.h +31 -0
  115. data/ext/libmemcached-0.32/libmemcached/memcached_io.c +547 -0
  116. data/ext/libmemcached-0.32/libmemcached/memcached_io.h +59 -0
  117. data/ext/libmemcached-0.32/libmemcached/memcached_key.c +28 -0
  118. data/ext/libmemcached-0.32/libmemcached/memcached_parse.c +74 -0
  119. data/ext/libmemcached-0.32/libmemcached/memcached_pool.h +38 -0
  120. data/ext/libmemcached-0.32/libmemcached/memcached_purge.c +76 -0
  121. data/ext/libmemcached-0.32/libmemcached/memcached_quit.c +75 -0
  122. data/ext/libmemcached-0.32/libmemcached/memcached_response.c +528 -0
  123. data/ext/libmemcached-0.32/libmemcached/memcached_result.c +57 -0
  124. data/ext/libmemcached-0.32/libmemcached/memcached_result.h +59 -0
  125. data/ext/libmemcached-0.32/libmemcached/memcached_sasl.c +225 -0
  126. data/ext/libmemcached-0.32/libmemcached/memcached_sasl.h +44 -0
  127. data/ext/libmemcached-0.32/libmemcached/memcached_server.c +159 -0
  128. data/ext/libmemcached-0.32/libmemcached/memcached_server.h +93 -0
  129. data/ext/libmemcached-0.32/libmemcached/memcached_stats.c +454 -0
  130. data/ext/libmemcached-0.32/libmemcached/memcached_storage.c +514 -0
  131. data/ext/libmemcached-0.32/libmemcached/memcached_storage.h +107 -0
  132. data/ext/libmemcached-0.32/libmemcached/memcached_strerror.c +92 -0
  133. data/ext/libmemcached-0.32/libmemcached/memcached_string.c +138 -0
  134. data/ext/libmemcached-0.32/libmemcached/memcached_string.h +53 -0
  135. data/ext/libmemcached-0.32/libmemcached/memcached_types.h +44 -0
  136. data/ext/libmemcached-0.32/libmemcached/memcached_util.h +15 -0
  137. data/ext/libmemcached-0.32/libmemcached/memcached_verbosity.c +36 -0
  138. data/ext/libmemcached-0.32/libmemcached/memcached_version.c +112 -0
  139. data/ext/libmemcached-0.32/libmemcached/memcached_watchpoint.h +38 -0
  140. data/ext/libmemcached-0.32/libmemcached/murmur_hash.c +76 -0
  141. data/ext/libmemcached-0.32/libmemcached/visibility.h +51 -0
  142. data/ext/libmemcached-0.32/libmemcachedutil/Makefile.am +11 -0
  143. data/ext/libmemcached-0.32/libmemcachedutil/Makefile.in +602 -0
  144. data/ext/libmemcached-0.32/libmemcachedutil/libmemcachedutil.ver +1 -0
  145. data/ext/libmemcached-0.32/libmemcachedutil/memcached_pool.c +170 -0
  146. data/ext/libmemcached-0.32/m4/ac_cxx_compile_stdcxx_0x.m4 +103 -0
  147. data/ext/libmemcached-0.32/m4/ac_cxx_header_stdcxx_98.m4 +67 -0
  148. data/ext/libmemcached-0.32/m4/acx_pthread.m4 +276 -0
  149. data/ext/libmemcached-0.32/m4/byteorder.m4 +40 -0
  150. data/ext/libmemcached-0.32/m4/deprecated.m4 +17 -0
  151. data/ext/libmemcached-0.32/m4/enable_utillib.m4 +16 -0
  152. data/ext/libmemcached-0.32/m4/extensions.m4 +94 -0
  153. data/ext/libmemcached-0.32/m4/hsieh.m4 +18 -0
  154. data/ext/libmemcached-0.32/m4/lib-prefix.m4 +221 -0
  155. data/ext/libmemcached-0.32/m4/libtool.m4 +7360 -0
  156. data/ext/libmemcached-0.32/m4/ltoptions.m4 +368 -0
  157. data/ext/libmemcached-0.32/m4/ltsugar.m4 +123 -0
  158. data/ext/libmemcached-0.32/m4/ltversion.m4 +23 -0
  159. data/ext/libmemcached-0.32/m4/lt~obsolete.m4 +92 -0
  160. data/ext/libmemcached-0.32/m4/memcached.m4 +30 -0
  161. data/ext/libmemcached-0.32/m4/pandora_64bit.m4 +55 -0
  162. data/ext/libmemcached-0.32/m4/pandora_canonical.m4 +151 -0
  163. data/ext/libmemcached-0.32/m4/pandora_check_compiler_version.m4 +37 -0
  164. data/ext/libmemcached-0.32/m4/pandora_check_cxx_standard.m4 +16 -0
  165. data/ext/libmemcached-0.32/m4/pandora_enable_dtrace.m4 +41 -0
  166. data/ext/libmemcached-0.32/m4/pandora_ensure_gcc_version.m4 +36 -0
  167. data/ext/libmemcached-0.32/m4/pandora_have_better_malloc.m4 +54 -0
  168. data/ext/libmemcached-0.32/m4/pandora_have_sasl.m4 +133 -0
  169. data/ext/libmemcached-0.32/m4/pandora_header_assert.m4 +23 -0
  170. data/ext/libmemcached-0.32/m4/pandora_libtool.m4 +15 -0
  171. data/ext/libmemcached-0.32/m4/pandora_optimize.m4 +79 -0
  172. data/ext/libmemcached-0.32/m4/pandora_shared_ptr.m4 +56 -0
  173. data/ext/libmemcached-0.32/m4/pandora_vc_build.m4 +32 -0
  174. data/ext/libmemcached-0.32/m4/pandora_warnings.m4 +262 -0
  175. data/ext/libmemcached-0.32/m4/pod2man.m4 +7 -0
  176. data/ext/libmemcached-0.32/m4/protocol_binary.m4 +23 -0
  177. data/ext/libmemcached-0.32/m4/setsockopt.m4 +57 -0
  178. data/ext/libmemcached-0.32/m4/visibility.m4 +52 -0
  179. data/ext/libmemcached-0.32/support/Makefile.am +4 -0
  180. data/ext/libmemcached-0.32/support/Makefile.in +485 -0
  181. data/ext/libmemcached-0.32/support/libmemcached-fc.spec.in +105 -0
  182. data/ext/libmemcached-0.32/support/libmemcached.pc.in +10 -0
  183. data/ext/libmemcached-0.32/support/libmemcached.spec +105 -0
  184. data/ext/libmemcached-0.32/support/libmemcached.spec.in +105 -0
  185. data/ext/libmemcached-0.32/support/set_benchmark.sh +5 -0
  186. data/ext/libmemcached-0.32/tests/Makefile.am +105 -0
  187. data/ext/libmemcached-0.32/tests/Makefile.in +748 -0
  188. data/ext/libmemcached-0.32/tests/atomsmasher.c +245 -0
  189. data/ext/libmemcached-0.32/tests/function.c +4781 -0
  190. data/ext/libmemcached-0.32/tests/ketama_test_cases.h +108 -0
  191. data/ext/libmemcached-0.32/tests/output.cmp +7 -0
  192. data/ext/libmemcached-0.32/tests/output.res +7 -0
  193. data/ext/libmemcached-0.32/tests/output2.res +46 -0
  194. data/ext/libmemcached-0.32/tests/plus.cpp +293 -0
  195. data/ext/libmemcached-0.32/tests/r/memcat.res +19 -0
  196. data/ext/libmemcached-0.32/tests/r/memcp.res +27 -0
  197. data/ext/libmemcached-0.32/tests/r/memrm.res +19 -0
  198. data/ext/libmemcached-0.32/tests/r/memslap.res +33 -0
  199. data/ext/libmemcached-0.32/tests/r/memstat.res +33 -0
  200. data/ext/libmemcached-0.32/tests/server.c +118 -0
  201. data/ext/libmemcached-0.32/tests/server.h +25 -0
  202. data/ext/libmemcached-0.32/tests/start.c +16 -0
  203. data/ext/libmemcached-0.32/tests/t/memcat.test +4 -0
  204. data/ext/libmemcached-0.32/tests/t/memcp.test +3 -0
  205. data/ext/libmemcached-0.32/tests/t/memrm.test +3 -0
  206. data/ext/libmemcached-0.32/tests/t/memslap.test +5 -0
  207. data/ext/libmemcached-0.32/tests/t/memstat.test +3 -0
  208. data/ext/libmemcached-0.32/tests/test.c +137 -0
  209. data/ext/libmemcached-0.32/tests/test.h +46 -0
  210. data/ext/libmemcached-0.32/tests/udp.c +76 -0
  211. data/memcached.gemspec +4 -4
  212. data/test/unit/memcached_test.rb +30 -0
  213. metadata +213 -16
  214. data/ext/libmemcached-0.32.tar.gz +0 -0
  215. data/ext/libmemcached-1.patch +0 -270
  216. data/ext/libmemcached-10.patch +0 -12
  217. data/ext/libmemcached-2.patch +0 -116
  218. data/ext/libmemcached-3.patch +0 -8
  219. data/ext/libmemcached-4.patch +0 -40
  220. data/ext/libmemcached-5.patch +0 -832
  221. data/ext/libmemcached-6.patch +0 -20
  222. data/ext/libmemcached-7.patch +0 -2989
  223. data/ext/libmemcached-8.patch +0 -137
  224. data/ext/libmemcached-9.patch +0 -13
  225. data/ext/sasl.patch +0 -29283
@@ -0,0 +1,82 @@
1
+ =head1 NAME
2
+
3
+ memcached_stat, memcached_stat_servername, memcached_stat_get_value, memcached_stat_get_keys - Get memcached statistics
4
+
5
+ =head1 LIBRARY
6
+
7
+ C Client Library for memcached (libmemcached, -lmemcached)
8
+
9
+ =head1 SYNOPSIS
10
+
11
+ #include <memcached.h>
12
+
13
+ memcached_stat_st *memcached_stat (memcached_st *ptr,
14
+ char *args,
15
+ memcached_return *error);
16
+
17
+ memcached_return memcached_stat_servername (memcached_stat_st *stat,
18
+ char *args,
19
+ char *hostname,
20
+ unsigned int port);
21
+
22
+ char *memcached_stat_get_value (memcached_st *ptr,
23
+ memcached_stat_st *stat,
24
+ char *key,
25
+ memcached_return *error);
26
+
27
+ char ** memcached_stat_get_keys (memcached_st *ptr,
28
+ memcached_stat_st *stat,
29
+ memcached_return *error);
30
+
31
+ =head1 DESCRIPTION
32
+
33
+ libmemcached(3) has the ability to query a memcached server (or collection
34
+ of servers) for their current state. Queries to find state return a
35
+ C<memcached_stat_st> structure. You are responsible for freeing this structure.
36
+ While it is possible to access the structure directly it is not advisable.
37
+ <memcached_stat_get_value() has been provided to query the structure.
38
+
39
+ memcached_stat() fetches an array of C<memcached_stat_st> structures containing
40
+ the state of all available memcached servers. The return value must be freed
41
+ by the calling application. If called with the C<MEMCACHED_BEHAVIOR_USE_UDP>
42
+ behavior set, a NULL value is returned and the error parameter is set to
43
+ C<MEMCACHED_NOT_SUPPORTED>.
44
+
45
+ memcached_stat_servername() can be used standalone without a C<memcached_st> to
46
+ obtain the state of a particular server. "args" is used to define a
47
+ particular state object (a list of these are not provided for by either
48
+ the memcached_stat_get_keys() call nor are they defined in the memcached
49
+ protocol). You must specify the hostname and port of the server you want to
50
+ obtain information on.
51
+
52
+ memcached_stat_get_value() returns the value of a particular state key. You
53
+ specify the key you wish to obtain. The key must be null terminated.
54
+
55
+ memcached_stat_get_keys() returns a list of keys that the server has state
56
+ objects on. You are responsible for freeing this list.
57
+
58
+ A command line tool, memstat(1), is provided so that you do not have to write
59
+ an application to do this.
60
+
61
+ =head1 RETURN
62
+
63
+ Varies, see particular functions.
64
+
65
+ Any method returning a C<memcached_stat_st> expects you to free the
66
+ memory allocated for it.
67
+
68
+ =head1 HOME
69
+
70
+ To find out more information please check:
71
+ L<http://tangent.org/552/libmemcached.html>
72
+
73
+ =head1 AUTHOR
74
+
75
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
76
+
77
+ =head1 SEE ALSO
78
+
79
+ memcached(1) libmemcached(3) memcached_strerror(3)
80
+
81
+ =cut
82
+
@@ -0,0 +1,46 @@
1
+ =head1 NAME
2
+
3
+ memcached_strerror - Get error string
4
+
5
+ =head1 LIBRARY
6
+
7
+ C Client Library for memcached (libmemcached, -lmemcached)
8
+
9
+ =head1 SYNOPSIS
10
+
11
+ #include <memcached.h>
12
+
13
+ char *memcached_strerror (memcached_st *ptr,
14
+ memcached_return rc);
15
+
16
+ =head1 DESCRIPTION
17
+
18
+ memcached_strerror() takes a C<memcached_return> value and returns a string
19
+ describing the error.
20
+
21
+ This string must not be modified by the application.
22
+
23
+ C<memcached_return> values are returned from nearly all libmemcached(3) functions.
24
+
25
+ C<memcached_return> values are of an enum type so that you can set up responses
26
+ with switch/case and know that you are capturing all possible return values.
27
+
28
+ =head1 RETURN
29
+
30
+ memcached_strerror() returns a string describing a C<memcached_return> value.
31
+
32
+ =head1 HOME
33
+
34
+ To find out more information please check:
35
+ L<http://tangent.org/552/libmemcached.html>
36
+
37
+ =head1 AUTHOR
38
+
39
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
40
+
41
+ =head1 SEE ALSO
42
+
43
+ memcached(1) libmemcached(3)
44
+
45
+ =cut
46
+
@@ -0,0 +1,49 @@
1
+ =head1 NAME
2
+
3
+ memcached_set_user_data, memcached_get_user_data - Manage user specific data
4
+
5
+ =head1 LIBRARY
6
+
7
+ C Client Library for memcached (libmemcached, -lmemcached)
8
+
9
+ =head1 SYNOPSIS
10
+
11
+ #include <memcached.h>
12
+
13
+ void *memcached_get_user_data(memcached_st *ptr);
14
+ void *memcached_set_user_data(memcached_st *ptr, void *data);
15
+
16
+ =head1 DESCRIPTION
17
+
18
+ libmemcached(3) allows you to store a pointer to a user specific data inside
19
+ the memcached_st structure.
20
+
21
+ memcached_set_user_data() is used to set the user specific data in the
22
+ memcached_st structure.
23
+
24
+ memcached_get_user_data() is used to retrieve the user specific data in
25
+ the memcached_st structure.
26
+
27
+ =head1 RETURN
28
+
29
+ memcached_set_user_data() returns the previous value of the user specific
30
+ data.
31
+
32
+ memcached_get_user_data() returns the current value uf the user specific
33
+ data.
34
+
35
+ =head1 HOME
36
+
37
+ To find out more information please check:
38
+ L<http://tangent.org/552/libmemcached.html>
39
+
40
+ =head1 AUTHOR
41
+
42
+ Trond Norbye, E<lt>trond.norbye@sun.comE<gt>
43
+
44
+ =head1 SEE ALSO
45
+
46
+ memcached(1) libmemcached(3)
47
+
48
+ =cut
49
+
@@ -0,0 +1,41 @@
1
+ =head1 NAME
2
+
3
+ memcached_verbosity - Modifiy verbosity of servers
4
+
5
+ =head1 LIBRARY
6
+
7
+ C Client Library for memcached (libmemcached, -lmemcached)
8
+
9
+ =head1 SYNOPSIS
10
+
11
+ #include <memcached.h>
12
+
13
+ memcached_return memcached_verbosity (memcached_st *ptr,
14
+ unsigned int verbosity);
15
+
16
+ =head1 DESCRIPTION
17
+
18
+ memcached_verbosity() modifies the "verbosity" of the
19
+ memcached(1) servers referenced in the C<memcached_st> parameter.
20
+
21
+ =head1 RETURN
22
+
23
+ A value of type C<memcached_return> is returned
24
+ On success that value will be C<MEMCACHED_SUCCESS>.
25
+ Use memcached_strerror() to translate this value to a printable string.
26
+
27
+ =head1 HOME
28
+
29
+ To find out more information please check:
30
+ L<http://tangent.org/552/libmemcached.html>
31
+
32
+ =head1 AUTHOR
33
+
34
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
35
+
36
+ =head1 SEE ALSO
37
+
38
+ memcached(1) libmemcached(3) memcached_strerror(3)
39
+
40
+ =cut
41
+
@@ -0,0 +1,56 @@
1
+ =head1 NAME
2
+
3
+ memcached_lib_version, memcached_version - Get library version
4
+
5
+ =head1 LIBRARY
6
+
7
+ C Client Library for memcached (libmemcached, -lmemcached)
8
+
9
+ =head1 SYNOPSIS
10
+
11
+ #include <memcached.h>
12
+
13
+ const char *
14
+ memcached_lib_version(void)
15
+
16
+
17
+ memcached_return
18
+ memcached_version(memcached_st *ptr)
19
+
20
+
21
+ =head1 DESCRIPTION
22
+
23
+ memcached_lib_version() is used to return a simple version string representing
24
+ the libmemcached version (version of the client library, not server)
25
+
26
+
27
+ memcached_version() is used to set the major, minor, and micro versions of each
28
+ memcached server being used by the memcached_st connection structure. It returns the
29
+ memcached server return code.
30
+
31
+ =head1 RETURN
32
+
33
+ A string with the version of libmemcached driver is returned from
34
+ memcached_lib_version()
35
+
36
+ A value of type C<memcached_return> is returned from memcached_version()
37
+ On success that value will be C<MEMCACHED_SUCCESS>. If called with the
38
+ C<MEMCACHED_BEHAVIOR_USE_UDP> behavior set, the value C<MEMCACHED_NOT_SUPPORTED>
39
+ will be returned. Use memcached_strerror() to translate this value to
40
+ a printable string.
41
+
42
+ =head1 HOME
43
+
44
+ To find out more information please check:
45
+ L<http://tangent.org/552/libmemcached.html>
46
+
47
+ =head1 AUTHOR
48
+
49
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
50
+
51
+ =head1 SEE ALSO
52
+
53
+ memcached(1) libmemcached(3) memcached_strerror(3)
54
+
55
+ =cut
56
+
@@ -0,0 +1,37 @@
1
+ =head1 NAME
2
+
3
+ memcat - Copy a set of keys to stdout
4
+
5
+ =head1 SYNOPSIS
6
+
7
+ memcat [options] key key ...
8
+
9
+ =head1 DESCRIPTION
10
+
11
+ B<memcat> outputs to stdout the value a single or mutiple set of keys
12
+ stored in a memcached(1) server.
13
+
14
+ It is similar to the standard UNIX cat(1) utility.
15
+
16
+ You can specify servers via the B<--servers> option or via the
17
+ environment variable C<MEMCACHED_SERVERS>.
18
+
19
+ For a full list of operations run the tool with the B<--help> option.
20
+
21
+ =head1 HOME
22
+
23
+ To find out more information please check:
24
+ L<http://tangent.org/552/libmemcached.html>
25
+
26
+ =head1 AUTHOR
27
+
28
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
29
+
30
+ Mark Atwood E<lt>mark@fallenpegasus.comE<gt>
31
+
32
+ =head1 SEE ALSO
33
+
34
+ memcached(1) libmemcached(3)
35
+
36
+ =cut
37
+
@@ -0,0 +1,40 @@
1
+ =head1 NAME
2
+
3
+ memcp - Copies files to a collection of memcached servers
4
+
5
+ =head1 SYNOPSIS
6
+
7
+ memcp [options] file file <servers>
8
+
9
+ =head1 DESCRIPTION
10
+
11
+ B<memcp> copies one or more files into memcached(1) servers.
12
+ It is similar to the standard UNIX cp(1) command.
13
+
14
+ The key names will be the names of the files,
15
+ without any directory path part.
16
+
17
+ You can specify servers via the B<--servers> option or via the
18
+ environment variable C<MEMCACHED_SERVERS>. If you specify neither of
19
+ these, the final value in the command line list is the name of a
20
+ server(s).
21
+
22
+ For a full list of operations run the tool with the B<--help> option.
23
+
24
+ =head1 HOME
25
+
26
+ To find out more information please check:
27
+ L<http://tangent.org/552/libmemcached.html>
28
+
29
+ =head1 AUTHOR
30
+
31
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
32
+
33
+ Mark Atwood, E<lt>mark@fallenpegasus.comE<gt>
34
+
35
+ =head1 SEE ALSO
36
+
37
+ memcached(1) libmemcached(3)
38
+
39
+ =cut
40
+
@@ -0,0 +1,31 @@
1
+ =head1 NAME
2
+
3
+ memdump - Dump a list of keys from a server.
4
+
5
+ =head1 SYNOPSIS
6
+
7
+ memdump [options]
8
+
9
+ =head1 DESCRIPTION
10
+
11
+ B<memdump> currently dumps a list of "keys" from all servers that
12
+ it is told to fetch from. Because memcached does not guarentee to
13
+ provide all keys it is not possible to get a complete "dump".
14
+
15
+ For a full list of operations run the tool with the B<--help> option.
16
+
17
+ =head1 HOME
18
+
19
+ To find out more information please check:
20
+ L<http://tangent.org/552/libmemcached.html>
21
+
22
+ =head1 AUTHOR
23
+
24
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
25
+
26
+ =head1 SEE ALSO
27
+
28
+ memcached(1) libmemcached(3)
29
+
30
+ =cut
31
+
@@ -0,0 +1,30 @@
1
+ =head1 NAME
2
+
3
+ memerror - Translate a memcached error code to a string
4
+
5
+ =head1 SYNOPSIS
6
+
7
+ memerror [options] error_code
8
+
9
+ =head1 DESCRIPTION
10
+
11
+ B<memerror> translate an error code from libmemcached(3) to a human
12
+ readable string.
13
+
14
+ For a full list of operations run the tool with the B<--help> option.
15
+
16
+ =head1 HOME
17
+
18
+ To find out more infoerroration please check:
19
+ L<http://tangent.org/552/libmemcached.html>
20
+
21
+ =head1 AUTHOR
22
+
23
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
24
+
25
+ =head1 SEE ALSO
26
+
27
+ memcached(1) libmemcached(3)
28
+
29
+ =cut
30
+
@@ -0,0 +1,35 @@
1
+ =head1 NAME
2
+
3
+ memflush - Reset a server or list of servers
4
+
5
+ =head1 SYNOPSIS
6
+
7
+ memflush [options]
8
+
9
+ =head1 DESCRIPTION
10
+
11
+ B<memflush> resets the contents of memcached(1) servers.
12
+ This means all data in these servers will be deleted.
13
+
14
+ You can specify servers via the B<--servers> option or via the
15
+ environment variable C<MEMCACHED_SERVERS>.
16
+
17
+ For a full list of operations run the tool with the B<--help> option.
18
+
19
+ =head1 HOME
20
+
21
+ To find out more information please check:
22
+ L<http://tangent.org/552/libmemcached.html>
23
+
24
+ =head1 AUTHOR
25
+
26
+ Brian Aker, E<lt>brian@tangent.orgE<gt>
27
+
28
+ Mark Atwood E<lt>mark@fallenpegasus.comE<gt>
29
+
30
+ =head1 SEE ALSO
31
+
32
+ memcached(1) libmemcached(3)
33
+
34
+ =cut
35
+