X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libmemcached%2Finstance.hpp;h=097d350097d96578beeff4be78d9298ce62e3d66;hb=96fd17942838d7c2943334da9e7616e56c613595;hp=fba02b2f4da0f2be1afb39fe5fe5b1f70b8cbb69;hpb=7acbb1495e0aaa29df7ffb09b90ec97fc949c48d;p=m6w6%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;