libyrmcds
memcached/yrmcds client library for C
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
Functions
Public functions for the counter extension

Functions

yrmcds_error yrmcds_cnt_connect (yrmcds_cnt *c, const char *node, uint16_t port)
 Connecct to a yrmcds server. More...
 
yrmcds_error yrmcds_cnt_close (yrmcds_cnt *c)
 Close the connection. More...
 
yrmcds_error yrmcds_cnt_shutdown (yrmcds_cnt *c)
 Shutdown the receiving end of the socket. More...
 
int yrmcds_cnt_fileno (yrmcds_cnt *c)
 Return the underlying socket in yrmcds_cnt. More...
 
yrmcds_error yrmcds_cnt_set_timeout (yrmcds_cnt *c, int timeout)
 Set timeout seconds for send/recv operations. More...
 
yrmcds_error yrmcds_cnt_recv (yrmcds_cnt *c, yrmcds_cnt_response *r)
 Receives a response packet. More...
 
yrmcds_error yrmcds_cnt_noop (yrmcds_cnt *c, uint32_t *serial)
 Send Noop command. More...
 
yrmcds_error yrmcds_cnt_get (yrmcds_cnt *c, const char *name, size_t name_len, uint32_t *serial)
 Send Get command. More...
 
yrmcds_error yrmcds_cnt_acquire (yrmcds_cnt *c, const char *name, size_t name_len, uint32_t resources, uint32_t maximum, uint32_t *serial)
 Send Acquire command. More...
 
yrmcds_error yrmcds_cnt_release (yrmcds_cnt *c, const char *name, size_t name_len, uint32_t resources, uint32_t *serial)
 Send Release command. More...
 
yrmcds_error yrmcds_cnt_stats (yrmcds_cnt *c, uint32_t *serial)
 Send Stats command. More...
 
yrmcds_error yrmcds_cnt_dump (yrmcds_cnt *c, uint32_t *serial)
 Send Dump command. More...
 

Detailed Description