#ifndef KEYVALUE_H
#define KEYVALUE_H
#include "common.h"
+#include "IoTString.h"
/**
* KeyValue entry for Slot.
};
KeyValue *KeyValue_decode(ByteBuffer *bb);
+
+inline unsigned int hashKeyValue(KeyValue *a) {
+ return a->getKey()->hashValue();
+}
+
+inline bool KeyValueEquals(KeyValue *a, KeyValue *b) {
+ return a->getKey()->equals(b->getKey());
+}
#endif