15 lines
281 B
C
15 lines
281 B
C
#ifndef _HASH_H_
|
|
#define _HASH_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
struct b_hash_ctx;
|
|
|
|
struct b_hash_function_ops {
|
|
void (*hash_init)(struct b_hash_ctx *);
|
|
void (*hash_update)(struct b_hash_ctx *, const void *, size_t);
|
|
void (*hash_finish)(struct b_hash_ctx *, void *, size_t);
|
|
};
|
|
|
|
#endif
|