X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Foptions.h;h=85fb8502afc88747568079f8dfa2ba3538d150d1;hb=f285e1b3821f56a8983b5ce9fb1a0070e7bb0a1c;hp=b1b9b92ad67271a4657afd22c3086a9b699b545d;hpb=16c2fe9cc04a3f15fe56d3be2f3be19a1d731fb2;p=awesomized%2Flibmemcached diff --git a/libmemcached/options.h b/libmemcached/options.h index b1b9b92a..85fb8502 100644 --- a/libmemcached/options.h +++ b/libmemcached/options.h @@ -42,13 +42,22 @@ extern "C" { #endif LIBMEMCACHED_API - memcached_return_t memcached_check_options(const char *option_string, size_t length, const char *error_buffer, size_t error_buffer_size); + 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_options(memcached_st *ptr, const char *option_string, size_t length); + memcached_return_t memcached_parse_configuration(memcached_st *ptr, const char *option_string, size_t length); LIBMEMCACHED_API - memcached_return_t memcached_parse_file_options(memcached_st *ptr, const char *filename); + void memcached_set_configuration_file(memcached_st *self, const char *filename, size_t filename_length); + +LIBMEMCACHED_LOCAL + memcached_return_t memcached_parse_configure_file(memcached_st *ptr, const char *filename, size_t filename_length); + +LIBMEMCACHED_LOCAL + const char *memcached_parse_filename(memcached_st *memc); + +LIBMEMCACHED_LOCAL + size_t memcached_parse_filename_length(memcached_st *memc); #ifdef __cplusplus }