X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fbehavior.h;h=39a430d7fa526f470476c14c38386c3fc18bf8cc;hb=f7508e07e52d2fdb580832a79c33a3d929fc3859;hp=7a00873124a99127bdb2645ab67a30078022d6d6;hpb=965bde2b42f5ef2dd7b55b6b4b74822e7cfaa1de;p=awesomized%2Flibmemcached diff --git a/libmemcached/behavior.h b/libmemcached/behavior.h index 7a008731..39a430d7 100644 --- a/libmemcached/behavior.h +++ b/libmemcached/behavior.h @@ -9,8 +9,8 @@ * */ -#ifndef __MEMCACHED_BEHAVIOR_H__ -#define __MEMCACHED_BEHAVIOR_H__ +#ifndef __LIBMEMCACHED_BEHAVIOR_H__ +#define __LIBMEMCACHED_BEHAVIOR_H__ #ifdef __cplusplus extern "C" { @@ -40,9 +40,12 @@ memcached_return_t memcached_behavior_set_distribution_hash(memcached_st *ptr, m LIBMEMCACHED_API memcached_hash_t memcached_behavior_get_distribution_hash(memcached_st *ptr); +LIBMEMCACHED_LOCAL +bool _is_auto_eject_host(const memcached_st *ptr); + #ifdef __cplusplus } #endif -#endif /* __MEMCACHED_BEHAVIOR_H__ */ +#endif /* __LIBMEMCACHED_BEHAVIOR_H__ */