Changeset 775 for branches/binary/server/memcached.h
- Timestamp:
- 04/02/08 17:41:43 (20 months ago)
- Files:
-
- 1 modified
-
branches/binary/server/memcached.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/binary/server/memcached.h
r772 r775 176 176 #define ITEM_ntotal(item) (sizeof(struct _stritem) + (item)->nkey + 1 + (item)->nsuffix + (item)->nbytes) 177 177 178 /** 179 * NOTE: If you modify this table you _MUST_ update the function state_text 180 */ 178 181 enum conn_states { 179 182 conn_listening, /** the socket which listens for connections */ 183 conn_new_cmd, /** Prepare connection for next command */ 184 conn_waiting, /** waiting for a readable socket */ 180 185 conn_read, /** reading in a command line */ 186 conn_parse_cmd, /** try to parse a command from the input buffer */ 181 187 conn_write, /** writing out a simple response */ 182 188 conn_nread, /** reading in a fixed number of bytes */ … … 184 190 conn_closing, /** closing this connection */ 185 191 conn_mwrite, /** writing out many items sequentially */ 186 conn_bin_init, /** Reinitializing a binary protocol connection */ 187 conn_negotiate, /** Negotiating a protocol */ 192 conn_max_state, /** Max state value (used for assertion) */ 188 193 }; 189 194
