libyrmcds
memcached/yrmcds client library for C
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
yrmcds_error yrmcds_keys ( yrmcds c,
const char *  prefix,
size_t  prefix_len,
uint32_t *  serial 
)

Send Keys command to list all keys matching the given prefix.

To retrieve all keys, pass NULL and 0 as prefix and prefix_len.

Parameters
cA pointer to yrmcds.
prefixPrefix data.
prefix_lenLength of prefix.
serialA pointer to uint32_t, or NULL.
Returns
0 if succeeded. Other values indicate an error.