* memcached_purge() now calls any callbacks registered during get execution.
* Many fixes to memslap.
* Updates for memcapable.
+* Compile fixes for OpenBSD.
0.37 Mon Jan 11 16:29:57 PST 2010
* Fixed build for libhashkit.
LIBMEMCACHED_LOCAL
memcached_return_t memcached_connect(memcached_server_instance_st *ptr);
+
LIBMEMCACHED_LOCAL
-void memcached_quit_server(memcached_server_instance_st *ptr, uint8_t io_death);
+void memcached_quit_server(memcached_server_instance_st *ptr, bool io_death);
LIBMEMCACHED_LOCAL
memcached_return_t run_distribution(memcached_st *ptr);
const size_t *key_length,
size_t number_of_keys);
-
LIBMEMCACHED_LOCAL
uint32_t generate_hash(memcached_st *ptr, const char *key, size_t key_length);
will force data to be completed.
*/
-void memcached_quit_server(memcached_server_st *ptr, uint8_t io_death)
+void memcached_quit_server(memcached_server_st *ptr, bool io_death)
{
if (ptr->fd != -1)
{
- if (io_death == 0 && ptr->type != MEMCACHED_CONNECTION_UDP)
+ if (io_death == false && ptr->type != MEMCACHED_CONNECTION_UDP)
{
memcached_return_t rc;
char buffer[MEMCACHED_MAX_BUFFER];
ptr->read_ptr= ptr->read_buffer;
memcached_server_response_reset(ptr);
- if(io_death)
+ if (io_death)
{
ptr->server_failure_counter++;
}