btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / kernel / util / StringHash.h
blob29be9b34c3ff848d128958110bc892674bccf2c8
1 /*
2 * Copyright 2002-2013, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
6 * Distributed under the terms of the NewOS License.
7 */
8 #ifndef _KERNEL_UTIL_STRING_HASH_H
9 #define _KERNEL_UTIL_STRING_HASH_H
12 #include <SupportDefs.h>
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
20 uint32 hash_hash_string(const char* string);
21 uint32 hash_hash_string_part(const char* string, size_t maxLength);
24 #ifdef __cplusplus
26 #endif
29 #endif /* _KERNEL_UTIL_STRING_HASH_H */