#ifndef _HASH_H_ #define _HASH_H_ #include 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