Partial patch on pass through to fix issues with trigger writers not
[m6w6/libmemcached] / libmemcached / response.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: Change the behavior of the memcached connection.
9 *
10 */
11
12 #ifndef __MEMCACHED_RESPONSE_H__
13 #define __MEMCACHED_RESPONSE_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 /* Read a single response from the server */
20 LIBMEMCACHED_LOCAL
21 memcached_return_t memcached_read_one_response(memcached_server_instance_st *ptr,
22 char *buffer, size_t buffer_length,
23 memcached_result_st *result);
24
25 LIBMEMCACHED_LOCAL
26 memcached_return_t memcached_response(memcached_server_instance_st *ptr,
27 char *buffer, size_t buffer_length,
28 memcached_result_st *result);
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif /* __MEMCACHED_RESPONSE_H__ */