haiku/headers/private/kernel/util/StringHash.h
Ingo Weinhold 2fdd1d9ef1 khash: Move string hash functions to own header/source file
Unlike khash they shouldn't be phased out (only renamed).
2013-11-19 15:08:34 +01:00

30 lines
562 B
C

/*
* Copyright 2002-2013, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
#ifndef _KERNEL_UTIL_STRING_HASH_H
#define _KERNEL_UTIL_STRING_HASH_H
#include <SupportDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
uint32 hash_hash_string(const char* string);
uint32 hash_hash_string_part(const char* string, size_t maxLength);
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_UTIL_STRING_HASH_H */