memcached 1.7.0 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +9 -9
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/CHANGELOG +4 -0
  5. data/Manifest +2 -36
  6. data/README.rdoc +2 -2
  7. data/Rakefile +1 -0
  8. data/ext/extconf.rb +1 -1
  9. data/ext/lib64/libmemcached.la +41 -0
  10. data/ext/lib64/pkgconfig/libmemcached.pc +10 -0
  11. data/ext/libmemcached-0.32/Makefile.am +1 -1
  12. data/ext/libmemcached-0.32/Makefile.in +242 -162
  13. data/ext/libmemcached-0.32/aclocal.m4 +533 -342
  14. data/ext/libmemcached-0.32/config.h.in +5 -3
  15. data/ext/libmemcached-0.32/configure +449 -431
  16. data/ext/libmemcached-0.32/configure.ac +0 -2
  17. data/memcached.gemspec +0 -0
  18. data/memcached.pem +16 -16
  19. metadata +26 -59
  20. metadata.gz.sig +0 -0
  21. data/ext/libmemcached-0.32/docs/Makefile.am +0 -415
  22. data/ext/libmemcached-0.32/docs/Makefile.in +0 -920
  23. data/ext/libmemcached-0.32/docs/libmemcached.pod +0 -123
  24. data/ext/libmemcached-0.32/docs/libmemcached_examples.pod +0 -115
  25. data/ext/libmemcached-0.32/docs/libmemcachedutil.pod +0 -40
  26. data/ext/libmemcached-0.32/docs/memcached_analyze.pod +0 -52
  27. data/ext/libmemcached-0.32/docs/memcached_auto.pod +0 -97
  28. data/ext/libmemcached-0.32/docs/memcached_behavior.pod +0 -224
  29. data/ext/libmemcached-0.32/docs/memcached_callback.pod +0 -123
  30. data/ext/libmemcached-0.32/docs/memcached_create.pod +0 -61
  31. data/ext/libmemcached-0.32/docs/memcached_delete.pod +0 -54
  32. data/ext/libmemcached-0.32/docs/memcached_dump.pod +0 -53
  33. data/ext/libmemcached-0.32/docs/memcached_flush.pod +0 -46
  34. data/ext/libmemcached-0.32/docs/memcached_flush_buffers.pod +0 -42
  35. data/ext/libmemcached-0.32/docs/memcached_generate_hash_value.pod +0 -57
  36. data/ext/libmemcached-0.32/docs/memcached_get.pod +0 -161
  37. data/ext/libmemcached-0.32/docs/memcached_memory_allocators.pod +0 -73
  38. data/ext/libmemcached-0.32/docs/memcached_pool.pod +0 -77
  39. data/ext/libmemcached-0.32/docs/memcached_quit.pod +0 -47
  40. data/ext/libmemcached-0.32/docs/memcached_sasl.pod +0 -63
  41. data/ext/libmemcached-0.32/docs/memcached_server_st.pod +0 -75
  42. data/ext/libmemcached-0.32/docs/memcached_servers.pod +0 -102
  43. data/ext/libmemcached-0.32/docs/memcached_set.pod +0 -187
  44. data/ext/libmemcached-0.32/docs/memcached_stats.pod +0 -82
  45. data/ext/libmemcached-0.32/docs/memcached_strerror.pod +0 -46
  46. data/ext/libmemcached-0.32/docs/memcached_user_data.pod +0 -49
  47. data/ext/libmemcached-0.32/docs/memcached_verbosity.pod +0 -41
  48. data/ext/libmemcached-0.32/docs/memcached_version.pod +0 -56
  49. data/ext/libmemcached-0.32/docs/memcat.pod +0 -37
  50. data/ext/libmemcached-0.32/docs/memcp.pod +0 -40
  51. data/ext/libmemcached-0.32/docs/memdump.pod +0 -31
  52. data/ext/libmemcached-0.32/docs/memerror.pod +0 -30
  53. data/ext/libmemcached-0.32/docs/memflush.pod +0 -35
  54. data/ext/libmemcached-0.32/docs/memrm.pod +0 -34
  55. data/ext/libmemcached-0.32/docs/memslap.pod +0 -33
  56. data/ext/libmemcached-0.32/docs/memstat.pod +0 -35
@@ -1,82 +0,0 @@
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
-
@@ -1,46 +0,0 @@
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
-
@@ -1,49 +0,0 @@
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
-
@@ -1,41 +0,0 @@
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
-
@@ -1,56 +0,0 @@
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
-
@@ -1,37 +0,0 @@
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
-
@@ -1,40 +0,0 @@
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
-
@@ -1,31 +0,0 @@
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
-
@@ -1,30 +0,0 @@
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
-
@@ -1,35 +0,0 @@
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
-