Second Extended Filesystem (ext2) and other improvements (#33)
[lunaix-os.git] / lunaix-os / includes / lunaix / ds / hstr.h
index 6d2b0ee8f234fec19a77bb9ced25648756ede661..f43a6db24904d443469c281e726394832d0b6584 100644 (file)
@@ -26,6 +26,10 @@ struct hstr
 
 #define HSTR_EQ(str1, str2) ((str1)->hash == (str2)->hash)
 
+#define HSTR_VAL(hstr)  ((hstr).value)
+#define HSTR_LEN(hstr)  ((hstr).len)
+#define HSTR_HASH(hstr) ((hstr).hash)
+
 inline void
 hstr_rehash(struct hstr* hash_str, u32_t truncate_to)
 {