Fix problem where hostname would end up with trailing . and be accepted as
[m6w6/libmemcached] / libmemcached / behavior.h
index 39a430d7fa526f470476c14c38386c3fc18bf8cc..1c8d42e235eed96e149bc426b45a49bbc932eb5d 100644 (file)
@@ -43,6 +43,11 @@ memcached_hash_t memcached_behavior_get_distribution_hash(memcached_st *ptr);
 LIBMEMCACHED_LOCAL
 bool _is_auto_eject_host(const memcached_st *ptr);
 
+LIBMEMCACHED_LOCAL
+  const char *libmemcached_string_behavior(const memcached_behavior_t flag);
+
+LIBMEMCACHED_LOCAL
+  const char *libmemcached_string_distribution(const memcached_server_distribution_t flag);
 
 #ifdef __cplusplus
 }