X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Foptions.h;h=0a27be982646889261dc69530cc70b85d1f7ad59;hb=347598f61d421d797468d8b2c86d5d8280cae90c;hp=a2351548c2ec394f70c83e89bb6122c152a92db1;hpb=10f3d6bf1bc11c235779ae735f30758cfb035686;p=m6w6%2Flibmemcached diff --git a/libmemcached/options.h b/libmemcached/options.h index a2351548..0a27be98 100644 --- a/libmemcached/options.h +++ b/libmemcached/options.h @@ -42,10 +42,22 @@ extern "C" { #endif LIBMEMCACHED_API - memcached_return_t memcached_parse_options(memcached_st *ptr, const char *option_string, size_t length); + memcached_return_t libmemcached_check_configuration(const char *option_string, size_t length, char *error_buffer, size_t error_buffer_size); LIBMEMCACHED_API - memcached_return_t memcached_parse_file_options(memcached_st *ptr, const char *filename); + memcached_return_t memcached_parse_configuration(memcached_st *ptr, const char *option_string, size_t length); + +LIBMEMCACHED_API + memcached_return_t memcached_parse_configure_file(memcached_st *ptr, const char *filename, size_t filename_length); + +LIBMEMCACHED_API + void memcached_set_configuration_file(memcached_st *self, const char *filename, size_t filename_length); + +LIBMEMCACHED_API + const char *memcached_parse_filename(memcached_st *memc); + +LIBMEMCACHED_LOCAL + size_t memcached_parse_filename_length(memcached_st *memc); #ifdef __cplusplus }