- memcached_server_st *memcached_servers_parse (char *server_strings);
+ 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);
memcached_server_list_append() adds a server to the end of a
memcached_server_st array. On error null will be returned and the
memcached_server_list_append() adds a server to the end of a
memcached_server_st array. On error null will be returned and the
appropriate error. If the value of port is zero, it is set to the default
port of a memcached server.
appropriate error. If the value of port is zero, it is set to the default
port of a memcached server.
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.
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.