Fixed a typo that was causing a race condition error.
[awesomized/libmemcached] / libmemcached / util / ping.h
1 /* LibMemcached
2 * Copyright (C) 2010 Brian Aker
3 * All rights reserved.
4 *
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
7 *
8 * Summary: connects to a host, and makes sure it is alive.
9 *
10 */
11
12 #ifndef __LIBMEMCACHED_PING_H__
13 #define __LIBMEMCACHED_PING_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 LIBMEMCACHED_API
20 bool libmemcached_util_ping(const char *hostname, in_port_t port, memcached_return_t *ret);
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif /* __LIBMEMCACHED_PING_H__ */