Files
scoutfs/kmod/src/name.h
T
Zach Brown cedeacacb8 scoutfs: add file with simple name functions
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>
2016-07-04 10:49:41 -07:00

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