mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-31 12:33:19 +00:00
Directory entries and extended attributes similarly hash and compare strings so we'll give them some shared functions for doing so. Signed-off-by: Zach Brown <zab@versity.com>
9 lines
208 B
C
9 lines
208 B
C
#ifndef _SCOUTFS_NAME_H_
|
|
#define _SCOUTFS_NAME_H_
|
|
|
|
u64 scoutfs_name_hash(const char *data, unsigned int len);
|
|
int scoutfs_names_equal(const char *name_a, int len_a,
|
|
const char *name_b, int len_b);
|
|
|
|
#endif
|