X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_servers.pod;h=05dd98ed22dd3d40d90257a548ee835a3fccba8c;hb=f05cd5b77ca7b17440bfc7ed9f48f7c11d269767;hp=0e26e37d58e83938c55828854e7d514485e71175;hpb=8386963414b7c9d9fa5328ab1d4dd768d742ad54;p=m6w6%2Flibmemcached diff --git a/docs/memcached_servers.pod b/docs/memcached_servers.pod index 0e26e37d..05dd98ed 100755 --- a/docs/memcached_servers.pod +++ b/docs/memcached_servers.pod @@ -20,6 +20,11 @@ C Client Library for memcached (libmemcached, -lmemcached) const char *hostname, unsigned int port); + memcached_return + memcached_server_add_udp (memcached_st *ptr, + const char *hostname, + unsigned int port); + memcached_return memcached_server_add_unix_socket (memcached_st *ptr, const char *socket); @@ -47,9 +52,17 @@ memcached_server_list() is used to provide an array of all defined hosts. You are responsible for freeing this list (aka it is not a pointer to the currently used structure). -memcached_server_add() pushes a single server into the C +memcached_server_add() pushes a single TCP server into the C +structure. This server will be placed at the end. Duplicate servers are +allowed, so duplication is not checked. Executing this function with the +C behavior set will result in a +C. + +memcached_server_add_udp() pushes a single UDP server into the C structure. This server will be placed at the end. Duplicate servers are -allowed, so duplication is not checked. +allowed, so duplication is not checked. Executing this function with out +setting the C behavior will result in a +C. memcached_server_add_unix_socket() pushes a single UNIX socket into the C structure. This UNIX socket will be placed at the end.