X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Flibmemcached_configuration.rst;h=74902aab7663d987a00aa95d6fdf4e05b3c1028b;hb=ea7a5dd332779c77eaef6d14eac58372cb3439e1;hp=01e6b711d99aeca131574ab3c85bb758cb349b2a;hpb=55cf7c68679083cdd7351db3b888c6f8ddcebe09;p=m6w6%2Flibmemcached diff --git a/docs/libmemcached_configuration.rst b/docs/libmemcached_configuration.rst index 01e6b711..74902aab 100644 --- a/docs/libmemcached_configuration.rst +++ b/docs/libmemcached_configuration.rst @@ -2,13 +2,15 @@ Configuring Libmemcached ======================== +.. index:: object: memcached_st + -------- SYNOPSIS -------- +#include -.. c:function:: memcached_st *memcached_create_with_options(const char *string, size_t string_length) - +.. c:function:: memcached_st *memcached(const char *string, size_t string_length) .. c:function:: memcached_return_t libmemcached_check_configuration(const char *option_string, size_t length, char *error_buffer, size_t error_buffer_size) @@ -97,6 +99,18 @@ requests that know the namespace can access these values. This is accomplished by prepending the namespace value to all keys. +********************** +Mecached Pool Options: +********************** + +.. describe:: --POOL-MIN + +Initial size of pool. + +.. describe:: --POOL-MAX + +Maximize size of the pool. + ************ I/O Options: ************ @@ -172,7 +186,7 @@ RETURN ------ -memcached_create_with_options() returns a pointer to the memcached_st that was +memcached() returns a pointer to the memcached_st that was created (or initialized). On an allocation failure, it returns NULL. @@ -185,7 +199,7 @@ EXAMPLE .. code-block:: c const char *config_string= "--SERVER=host10.example.com --SERVER=host11.example.com --SERVER=host10.example.com" - memcached_st *memc= memcached_create_with_options(config_string, strlen(config_string); + memcached_st *memc= memcached(config_string, strlen(config_string); { ... } @@ -199,7 +213,7 @@ HOME To find out more information please check: -`https://launchpad.net/libmemcached `_ +`http://libmemcached.org/ `_