#include <memcached.h>

Public Attributes | |
| int | sfd |
| enum conn_states | state |
| enum bin_substates | substate |
| struct event | event |
| short | ev_flags |
| short | which |
| char * | rbuf |
| which events were just triggered | |
| char * | rcurr |
| buffer to read commands into | |
| int | rsize |
| but if we parsed some already, this is where we stopped | |
| int | rbytes |
| total allocated size of rbuf | |
| char * | wbuf |
| how much data, starting from rcur, do we have unparsed | |
| char * | wcurr |
| int | wsize |
| int | wbytes |
| enum conn_states | write_and_go |
| which state to go into after finishing current write | |
| void * | write_and_free |
| char * | ritem |
| free this memory after finishing writing | |
| int | rlbytes |
| when we read in an item's value, it goes here | |
| void * | item |
| item is used to hold an item structure created after reading the command line of set/add/replace commands, but before we finished reading the actual data. | |
| int | sbytes |
| struct iovec * | iov |
| int | iovsize |
| int | iovused |
| struct msghdr * | msglist |
| int | msgsize |
| int | msgused |
| int | msgcurr |
| int | msgbytes |
| item ** | ilist |
| int | isize |
| item ** | icurr |
| int | ileft |
| char ** | suffixlist |
| int | suffixsize |
| char ** | suffixcurr |
| int | suffixleft |
| enum protocol | protocol |
| int | request_id |
| struct sockaddr | request_addr |
| socklen_t | request_addr_size |
| unsigned char * | hdrbuf |
| int | hdrsize |
| bool | noreply |
| struct { | |
| char * buffer | |
| size_t size | |
| size_t offset | |
| } | stats |
| protocol_binary_request_header | binary_header |
| uint64_t | cas |
| short | cmd |
| int | opaque |
| int | keylen |
| conn * | next |
| LIBEVENT_THREAD * | thread |
| char* conn::buffer |
| uint64_t conn::cas |
| short conn::cmd |
| short conn::ev_flags |
struct event conn::event [read] |
| unsigned char* conn::hdrbuf |
| int conn::hdrsize |
| int conn::ileft |
struct iovec* conn::iov [read] |
| int conn::iovsize |
| int conn::iovused |
| int conn::isize |
| void* conn::item |
item is used to hold an item structure created after reading the command line of set/add/replace commands, but before we finished reading the actual data.
The data is read into ITEM_data(item) to avoid extra copying.
| int conn::keylen |
| int conn::msgbytes |
| int conn::msgcurr |
struct msghdr* conn::msglist [read] |
| int conn::msgsize |
| int conn::msgused |
| bool conn::noreply |
| size_t conn::offset |
| int conn::opaque |
| enum protocol conn::protocol |
| char* conn::rbuf |
which events were just triggered
| int conn::rbytes |
total allocated size of rbuf
| char* conn::rcurr |
buffer to read commands into
struct sockaddr conn::request_addr [read] |
| socklen_t conn::request_addr_size |
| int conn::request_id |
| char* conn::ritem |
free this memory after finishing writing
| int conn::rlbytes |
when we read in an item's value, it goes here
| int conn::rsize |
but if we parsed some already, this is where we stopped
| int conn::sbytes |
| int conn::sfd |
| size_t conn::size |
| enum conn_states conn::state |
| struct { ... } conn::stats |
| char** conn::suffixcurr |
| int conn::suffixleft |
| char** conn::suffixlist |
| int conn::suffixsize |
| char* conn::wbuf |
how much data, starting from rcur, do we have unparsed
| int conn::wbytes |
| char* conn::wcurr |
| short conn::which |
| void* conn::write_and_free |
which state to go into after finishing current write
| int conn::wsize |
1.5.8