Update for protocol (and a single fix).
[m6w6/libmemcached] / tests / print.h
index efd148f68fc6982b51889e0f67217efb4214c568..efecc9ed476497ed226aa0cfc06bfa0910fd2b15 100644 (file)
@@ -1,6 +1,6 @@
 /*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
  * 
- *  Gearmand client and server library.
+ *  Libmemcached client and server library.
  *
  *  Copyright (C) 2011 Data Differential, http://datadifferential.com/
  *  All rights reserved.
 
 #pragma once
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-LIBTEST_INTERNAL_API
 memcached_return_t server_print_callback(const memcached_st *ptr,
                                          const memcached_server_st *server,
                                          void *context);
 
-#ifdef __cplusplus
-}
-#endif
+memcached_return_t server_print_version_callback(const memcached_st *ptr,
+                                                 const memcached_server_st *server,
+                                                 void *context);
+
+const char * print_version(memcached_st *memc);