Genericize the rand code.

This commit is contained in:
Ian Gulliver
2016-02-21 15:56:07 -08:00
parent 6384e0f20d
commit 835a144d6e
3 changed files with 21 additions and 9 deletions

View File

@@ -93,6 +93,13 @@ void hex_from_int(char *, uint64_t, size_t);
void uuid_gen(char *);
///////// rand
void rand_init();
void rand_cleanup();
void rand_fill(void *, size_t);
///////// retry timing
void retry_init();