libyrmcds
memcached/yrmcds client library for C
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
yrmcds_error yrmcds_flush ( yrmcds c,
uint32_t  delay,
int  quiet,
uint32_t *  serial 
)

Send Flush/FlushQ command.

Parameters
cA pointer to yrmcds.
delaydelay seconds before flush.
quiet0 to send Flush, other values to send FlushQ.
serialA pointer to uint32_t, or NULL.
Returns
0 if succeeded. Other values indicate an error.

This function sends Flush/FlushQ command to the server. If serial is not NULL, the serial number of the request will be stored if the command was sent successfully.