Commit 15ca72eb authored by Simon Josefsson's avatar Simon Josefsson

* gc.h (gc_hash_buffer): Add doc.

parent 47b3dd4e
2005-10-11 Simon Josefsson <>
* gc.h (gc_hash_buffer): Add doc.
2005-10-11 Bruno Haible <>
* strcasecmp.c: Include limits.h.
......@@ -63,6 +63,12 @@ extern void gc_set_allocators (gc_malloc_t func_malloc,
gc_free_t func_free);
/* Hashes. */
/* Compute a hash value over buffer IN of INLEN bytes size using the
algorithm HASH, placing the result in the pre-allocated buffer OUT.
The required size of OUT depends on HASH, and is generally
GC_<HASH>_DIGEST_SIZE. For example, for GC_MD5 the output buffer
must be 16 bytes. */
extern int
gc_hash_buffer (int hash, const void *in, size_t inlen, char *out);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment