diff options
author | zugz (tox) <mbays+tox@sdf.org> | 2018-08-02 21:00:43 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-12 15:22:34 +0000 |
commit | fb89c03dd2b4c05847b7f3f7eeb965cae2e2087e (patch) | |
tree | 9422d8a2720e270d1ebe0cef949d30907b24ce07 /testing/misc_tools.h | |
parent | 3fe055141793d3bbcf0b0b7fc5b95cc24824d333 (diff) |
Add simple deterministic random number generator for tests
Diffstat (limited to 'testing/misc_tools.h')
-rw-r--r-- | testing/misc_tools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/misc_tools.h b/testing/misc_tools.h index deaa177d..b715c8cc 100644 --- a/testing/misc_tools.h +++ b/testing/misc_tools.h | |||
@@ -22,6 +22,8 @@ void print_debug_log(Tox *m, TOX_LOG_LEVEL level, const char *file, uint32_t lin | |||
22 | Tox *tox_new_log(struct Tox_Options *options, TOX_ERR_NEW *err, void *log_user_data); | 22 | Tox *tox_new_log(struct Tox_Options *options, TOX_ERR_NEW *err, void *log_user_data); |
23 | Tox *tox_new_log_lan(struct Tox_Options *options, TOX_ERR_NEW *err, void *log_user_data, bool lan_discovery); | 23 | Tox *tox_new_log_lan(struct Tox_Options *options, TOX_ERR_NEW *err, void *log_user_data, bool lan_discovery); |
24 | 24 | ||
25 | int use_test_rng(uint32_t seed); | ||
26 | |||
25 | #ifdef __cplusplus | 27 | #ifdef __cplusplus |
26 | } | 28 | } |
27 | #endif | 29 | #endif |