mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
Move girepository
This commit is contained in:
18
girepository/cmph/fnv_hash.h
Normal file
18
girepository/cmph/fnv_hash.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __FNV_HASH_H__
|
||||
#define __FNV_HASH_H__
|
||||
|
||||
#include "hash.h"
|
||||
|
||||
typedef struct __fnv_state_t
|
||||
{
|
||||
CMPH_HASH hashfunc;
|
||||
} fnv_state_t;
|
||||
|
||||
fnv_state_t *fnv_state_new();
|
||||
cmph_uint32 fnv_hash(fnv_state_t *state, const char *k, cmph_uint32 keylen);
|
||||
void fnv_state_dump(fnv_state_t *state, char **buf, cmph_uint32 *buflen);
|
||||
fnv_state_t *fnv_state_copy(fnv_state_t *src_state);
|
||||
fnv_state_t *fnv_state_load(const char *buf, cmph_uint32 buflen);
|
||||
void fnv_state_destroy(fnv_state_t *state);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user