diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-07-16 21:04:10 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-07-16 21:04:10 -0400 |
commit | 95629acc2902541460698d1898175499500caecd (patch) | |
tree | e5ed5bb6f888617cee6315c8248546fef22197fd /tests.h | |
parent | ae8484372cbbf0bad041f3bd9b11c18d9cf37be7 (diff) | |
download | sha2-95629acc2902541460698d1898175499500caecd.tar.bz2 sha2-95629acc2902541460698d1898175499500caecd.zip |
add sha224
Diffstat (limited to 'tests.h')
-rw-r--r-- | tests.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,8 +1,15 @@ #ifndef TESTS_H_ #define TESTS_H_ -unsigned int run_tests( - void (*on_fail)(const char * const, const uint8_t *, const uint8_t *) +#include <stdint.h> + +typedef void (*test_fail_cb_t)( + const int, + const char * const, + const uint8_t *, + const uint8_t * ); +unsigned int run_tests(test_fail_cb_t); + #endif /* TESTS_H_ */ |