X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fprint.h;h=7460dc3b1e9e17da7de4f68d710244557d01a1ec;hb=cc47230b8dfe0bcd31d4f45ca84d2dd35ae360f0;hp=2b30143dc5406ec6a33566a41931b735bf720b23;hpb=60c68bea5d034012f935eb849d92781c345c7214;p=m6w6%2Flibmemcached diff --git a/tests/print.h b/tests/print.h index 2b30143d..7460dc3b 100644 --- a/tests/print.h +++ b/tests/print.h @@ -37,15 +37,12 @@ #pragma once -#ifdef __cplusplus -extern "C" { -#endif - -LIBTEST_LOCAL memcached_return_t server_print_callback(const memcached_st *ptr, - const memcached_server_st *server, + memcached_server_instance_st server, void *context); -#ifdef __cplusplus -} -#endif +memcached_return_t server_print_version_callback(const memcached_st *ptr, + memcached_server_instance_st server, + void *context); + +const char * print_version(memcached_st *memc);