X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_server_st.pod;h=08ff77851079778657eb8420e575d04c8e0f975c;hb=0d26482f4c7e8cb5e811771c91e95007d0b78f3e;hp=0e6e7067f5507df7e609a51d52439ed6f16ec58c;hpb=42607993d9f6352e0c369a073d7345493ec26b25;p=m6w6%2Flibmemcached diff --git a/docs/memcached_server_st.pod b/docs/memcached_server_st.pod index 0e6e7067..08ff7785 100644 --- a/docs/memcached_server_st.pod +++ b/docs/memcached_server_st.pod @@ -23,6 +23,10 @@ C Client Library for memcached (libmemcached, -lmemcached) memcached_server_st *memcached_servers_parse (const char *server_strings); + const char *memcached_server_error(memcached_server_st *ptr); + + void memcached_server_error_reset(memcached_server_st *ptr); + =head1 DESCRIPTION libmemcached(3) operates on a list of hosts which are stored in @@ -44,6 +48,12 @@ command line applications, and parse it to an array of memcached_server_st. The example is "localhost, foo:555, foo, bar". All hosts except foo:555 will be set to the default port, while that host will have a port of 555. +memcached_server_error() can be used to look at the text of the last error +message sent by the server to to the client. Use memcached_server_error_reset() +to reset the message (this does not currently free up the memory associated +with the message). + + =head1 RETURN Varies, see particular functions.