handler.h | handler.h | |||
---|---|---|---|---|
skipping to change at line 154 | skipping to change at line 154 | |||
* Destroy a client handle. | * Destroy a client handle. | |||
* The caller needs to close the socket accociated with the client | * The caller needs to close the socket accociated with the client | |||
* <b>before</b> calling this function. This function invalidates the | * <b>before</b> calling this function. This function invalidates the | |||
* client memory area. | * client memory area. | |||
* | * | |||
* @param client the client to destroy | * @param client the client to destroy | |||
*/ | */ | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
void memcached_protocol_client_destroy(memcached_protocol_client_st *client ); | void memcached_protocol_client_destroy(memcached_protocol_client_st *client ); | |||
LIBMEMCACHED_API | ||||
void memcached_protocol_client_set_verbose(struct memcached_protocol_client | ||||
_st *client, bool arg); | ||||
/** | /** | |||
* Error event means that the client encountered an error with the | * Error event means that the client encountered an error with the | |||
* connection so you should shut it down | * connection so you should shut it down | |||
*/ | */ | |||
#define MEMCACHED_PROTOCOL_ERROR_EVENT 1 | #define MEMCACHED_PROTOCOL_ERROR_EVENT 1 | |||
/** | /** | |||
* Please notify when there is more data available to read | * Please notify when there is more data available to read | |||
*/ | */ | |||
#define MEMCACHED_PROTOCOL_READ_EVENT 2 | #define MEMCACHED_PROTOCOL_READ_EVENT 2 | |||
/** | /** | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||