2 * Summary: Get functions for libmemcached
4 * Copy: See Copyright for the status of this software.
9 #ifndef __MEMCACHED_GET_H__
10 #define __MEMCACHED_GET_H__
17 char *memcached_get(memcached_st
*ptr
,
18 const char *key
, size_t key_length
,
21 memcached_return
*error
);
23 memcached_return
memcached_mget(memcached_st
*ptr
,
24 char **keys
, size_t *key_length
,
25 unsigned int number_of_keys
);
27 char *memcached_get_by_key(memcached_st
*ptr
,
28 const char *master_key
, size_t master_key_length
,
29 const char *key
, size_t key_length
,
32 memcached_return
*error
);
34 memcached_return
memcached_mget_by_key(memcached_st
*ptr
,
35 const char *master_key
, size_t
39 unsigned int number_of_keys
);
41 char *memcached_fetch(memcached_st
*ptr
,
42 char *key
, size_t *key_length
,
43 size_t *value_length
, uint32_t *flags
,
44 memcached_return
*error
);
46 memcached_result_st
*memcached_fetch_result(memcached_st
*ptr
,
47 memcached_result_st
*result
,
48 memcached_return
*error
);
56 #endif /* __MEMCACHED_GET_H__ */