#ifndef HASH_FORMAT_H
#define HASH_FORMAT_H
struct hash_format;
/* Initialize formatting hash. Format can contain text with %{sha1} style
variables. Each hash hash can be also truncated by specifying the number
of bits to truncate to, such as %{sha1:80}. */
const char **error_r);
/* Add more data to hash. */
/* Finish the hash and write it into given string. */
/* Reset hash to initial state. */
/* Write the hash into given string and free used memory. */
/* Free used memory without writing to string. */
#endif