X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fserver.h;h=6a2ae5eea1a77dfbf2a7f113597868793c956b25;hb=d5c34fa54897336e3c92789d1abcceca8c5b213b;hp=44a32bba46c0627329994e17dbabad9fb08c414d;hpb=ba24508f51eed2af4f0192589801db2f945eac7b;p=awesomized%2Flibmemcached diff --git a/libmemcached/server.h b/libmemcached/server.h index 44a32bba..6a2ae5ee 100644 --- a/libmemcached/server.h +++ b/libmemcached/server.h @@ -15,10 +15,10 @@ struct memcached_server_st { struct { - bool is_allocated MEMCACHED_BITFIELD; - bool is_initialized MEMCACHED_BITFIELD; - bool sockaddr_inited MEMCACHED_BITFIELD; - bool is_shutting_down MEMCACHED_BITFIELD; + bool is_allocated:1; + bool is_initialized:1; + bool sockaddr_inited:1; + bool is_shutting_down:1; } options; uint32_t number_of_hosts; uint32_t cursor_active; @@ -29,7 +29,8 @@ struct memcached_server_st { uint32_t server_failure_counter; uint32_t weight; struct { // Place any "state" sort variables in here. - bool is_corked; + bool is_corked:1; + bool is_dead:1; } state; uint8_t major_version; uint8_t micro_version;