Only public symbols were prefixed with cmph, and the API was changed to agree with the initial txt2html documentation
This commit is contained in:
12
src/hash.h
12
src/hash.h
@@ -3,12 +3,12 @@
|
||||
|
||||
#include "cmph_types.h"
|
||||
|
||||
typedef union cmph__hash_state_t cmph_hash_state_t;
|
||||
typedef union __hash_state_t hash_state_t;
|
||||
|
||||
cmph_hash_state_t *cmph_hash_state_new(CMPH_HASH, cmph_uint32 hashsize);
|
||||
cmph_uint32 cmph_hash(cmph_hash_state_t *state, const char *key, cmph_uint32 keylen);
|
||||
void cmph_hash_state_dump(cmph_hash_state_t *state, char **buf, cmph_uint32 *buflen);
|
||||
cmph_hash_state_t *cmph_hash_state_load(const char *buf, cmph_uint32 buflen);
|
||||
void cmph_hash_state_destroy(cmph_hash_state_t *state);
|
||||
hash_state_t *hash_state_new(CMPH_HASH, cmph_uint32 hashsize);
|
||||
cmph_uint32 hash(hash_state_t *state, const char *key, cmph_uint32 keylen);
|
||||
void hash_state_dump(hash_state_t *state, char **buf, cmph_uint32 *buflen);
|
||||
hash_state_t *hash_state_load(const char *buf, cmph_uint32 buflen);
|
||||
void hash_state_destroy(hash_state_t *state);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user