include/ccKVS/inline_util.h
static inline uint8_t keys_and_meta_are_equal(struct cache_key* key1, struct cache_key* key2) {
	return (key1->bkt    == key2->bkt &&
			key1->server == key2->server &&
			key1->tag    == key2->tag &&
			key1->meta.version == key2->meta.version) ? 1 : 0;
}
// Check whether 2 keys (including the metadata) are equal
Check whether 2 keys (including the metadata) are equal
Check whether 2 keys ( including the metadata ) are equal
static inline uint8_t keys_and_meta_are_equal(struct cache_key* key1, struct cache_key* key2) {
	return (key1->bkt    == key2->bkt &&
			key1->server == key2->server &&
			key1->tag    == key2->tag &&
			key1->meta.version == key2->meta.version) ? 1 : 0;
}
static inline uint8_t keys_and_meta_are_equal ( struct cache_key * key1 , struct cache_key * key2 ) { return ( key1 -> bkt == key2 -> bkt && key1 -> server == key2 -> server && key1 -> tag == key2 -> tag && key1 -> meta . version == key2 -> meta . version ) ? 1 : 0 ; }
Check whether 2 keys (including the metadata) are equal
Check whether 2 keys ( including the metadata ) are equal