libyrmcds
memcached/yrmcds client library for C
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
yrmcds_error yrmcds_text_mode ( yrmcds c)

Turn on text protocol mode.

Parameters
cA pointer to yrmcds.
Returns
0 if succeeded. Other values indicate an error.

This function puts the connection into text protocol mode. c should be a newly connected object; if any (binary) request has been sent, this function will return an error.

Text protocol mode has overheads and limitations; most notably, quiet option for command sending functions cannot be enabled.