X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Foptions.h;h=2785c1220102229a8fb5dce56fa04b42ac72172f;hb=8b33bb5adbffec6e701728c085e4606a2f7cd506;hp=a2351548c2ec394f70c83e89bb6122c152a92db1;hpb=10f3d6bf1bc11c235779ae735f30758cfb035686;p=awesomized%2Flibmemcached diff --git a/libmemcached/options.h b/libmemcached/options.h index a2351548..2785c122 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); +LIBMEMCACHED_LOCAL + void memcached_set_configuration_file(memcached_st *self, const char *filename, size_t filename_length); + +LIBMEMCACHED_LOCAL + memcached_return_t memcached_parse_configuration(memcached_st *ptr, const char *option_string, size_t 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 }