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__
18 char *memcached_get(memcached_st
*ptr
,
19 const char *key
, size_t key_length
,
22 memcached_return
*error
);
25 memcached_return
memcached_mget(memcached_st
*ptr
,
26 const char **keys
, size_t *key_length
,
27 unsigned int number_of_keys
);
30 char *memcached_get_by_key(memcached_st
*ptr
,
31 const char *master_key
, size_t master_key_length
,
32 const char *key
, size_t key_length
,
35 memcached_return
*error
);
38 memcached_return
memcached_mget_by_key(memcached_st
*ptr
,
39 const char *master_key
, size_t
43 unsigned int number_of_keys
);
46 char *memcached_fetch(memcached_st
*ptr
,
47 char *key
, size_t *key_length
,
48 size_t *value_length
, uint32_t *flags
,
49 memcached_return
*error
);
52 memcached_result_st
*memcached_fetch_result(memcached_st
*ptr
,
53 memcached_result_st
*result
,
54 memcached_return
*error
);
62 #endif /* __MEMCACHED_GET_H__ */