LIBMEMCACHED_API
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
+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
test_true(memc_ptr);
- memcached_return_t rc= memcached_parse_configure_file(memc_ptr, memcached_string_with_size(SUPPORT_EXAMPLE_CNF));
- test_true_got(rc == MEMCACHED_SUCCESS, memcached_last_error_message(memc_ptr) ? memcached_last_error_message(memc_ptr) : memcached_strerror(NULL, rc));
+ memcached_set_configuration_file(memc_ptr, memcached_string_with_size(SUPPORT_EXAMPLE_CNF));
+ memcached_reset(memc_ptr);
memcached_free(memc_ptr);
return TEST_SUCCESS;