2 * Summary: Get functions for libmemcached
4 * Copy: See Copyright for the status of this software.
9 #ifndef LIBMEMCACHED_MEMCACHED_GET_H
10 #define LIBMEMCACHED_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 * const *keys
,
27 const size_t *key_length
,
28 size_t number_of_keys
);
31 char *memcached_get_by_key(memcached_st
*ptr
,
32 const char *master_key
, size_t master_key_length
,
33 const char *key
, size_t key_length
,
36 memcached_return
*error
);
39 memcached_return
memcached_mget_by_key(memcached_st
*ptr
,
40 const char *master_key
, size_t
42 const char * const *keys
,
43 const size_t *key_length
,
44 size_t number_of_keys
);
47 char *memcached_fetch(memcached_st
*ptr
,
48 char *key
, size_t *key_length
,
49 size_t *value_length
, uint32_t *flags
,
50 memcached_return
*error
);
53 memcached_result_st
*memcached_fetch_result(memcached_st
*ptr
,
54 memcached_result_st
*result
,
55 memcached_return
*error
);
58 memcached_return
memcached_mget_execute(memcached_st
*ptr
,
59 const char * const *keys
,
60 const size_t *key_length
,
61 size_t number_of_keys
,
62 memcached_execute_function
*callback
,
64 unsigned int number_of_callbacks
);
67 memcached_return
memcached_mget_execute_by_key(memcached_st
*ptr
,
68 const char *master_key
,
69 size_t master_key_length
,
70 const char * const *keys
,
71 const size_t *key_length
,
72 size_t number_of_keys
,
73 memcached_execute_function
*callback
,
75 unsigned int number_of_callbacks
);
81 #endif /* LIBMEMCACHED_MEMCACHED_GET_H */