path_stream_name(const tchar *path);
static inline void
-print_byte_field(const u8 field[], size_t len)
+print_byte_field(const u8 field[], size_t len, FILE *out)
{
while (len--)
- tprintf(T("%02hhx"), *field++);
+ tfprintf(out, T("%02hhx"), *field++);
}
static inline u32
extern void
zap_backslashes(tchar *s);
+static inline u64
+hash_u64(u64 n)
+{
+ return n * 0x9e37fffffffc0001ULL;
+}
+
#endif /* _WIMLIB_UTIL_H */