--- a/memcache/command.h Thu Aug 28 03:14:07 2008 +0300
+++ b/memcache/command.h Fri Aug 29 23:31:17 2008 +0300
@@ -17,7 +17,7 @@
*
* This must be atomic, so if it fails, it must not modify buf.
*/
-int memcache_cmd_format_header (struct evbuffer *buf, enum memcache_command cmd_type, struct memcache_key *key, struct memcache_obj *obj);
+int memcache_cmd_format_header (struct evbuffer *buf, enum memcache_command cmd_type, const struct memcache_key *key, const struct memcache_obj *obj);
/*
* Attempt to parse a response line from the given buf. *header_data will be set to NULL if no complete response line