X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Finstance.hpp;h=097d350097d96578beeff4be78d9298ce62e3d66;hb=14ed08eb76405aed0747568326058ab57c5e69a2;hp=fba02b2f4da0f2be1afb39fe5fe5b1f70b8cbb69;hpb=76bf27c007d5015d3dcf2981c942d8afb2e97302;p=awesomized%2Flibmemcached diff --git a/libmemcached/instance.hpp b/libmemcached/instance.hpp index fba02b2f..097d3500 100644 --- a/libmemcached/instance.hpp +++ b/libmemcached/instance.hpp @@ -91,11 +91,29 @@ struct Instance { } struct { - bool is_allocated:1; - bool is_initialized:1; - bool is_shutting_down:1; - bool is_dead:1; + bool is_allocated; + bool is_initialized; + bool is_shutting_down; + bool is_dead; + bool ready; } options; + + short _events; + short _revents; + + short events(void) + { + return _events; + } + + short revents(void) + { + return _revents; + } + + void events(short); + void revents(short); + uint32_t cursor_active_; in_port_t port_; memcached_socket_t fd;