chunk: Don't depend on pthread directly

This commit is contained in:
Martin Willi
2014-06-04 15:53:00 +02:00
parent f1c9653e04
commit c46cee6f6d
3 changed files with 22 additions and 13 deletions
+8
View File
@@ -339,6 +339,14 @@ bool chunk_increment(chunk_t chunk);
*/
bool chunk_printable(chunk_t chunk, chunk_t *sane, char replace);
/**
* Seed initial key for chunk_hash().
*
* This call should get invoked once during startup. This is usually done
* by calling library_init().
*/
void chunk_hash_seed();
/**
* Computes a 32 bit hash of the given chunk.
*