Add memory_buffer_alloc_self_test()

This commit is contained in:
Manuel Pégourié-Gonnard 2014-11-27 11:33:55 +01:00 committed by Paul Bakker
parent 5cb4b31057
commit 5ba1d52f96
3 changed files with 145 additions and 3 deletions

View file

@ -115,6 +115,15 @@ void memory_buffer_alloc_status( void );
*/
int memory_buffer_alloc_verify( void );
#if defined(POLARSSL_SELF_TEST)
/**
* \brief Checkup routine
*
* \return 0 if successful, or 1 if a test failed
*/
int memory_buffer_alloc_self_test( int verbose );
#endif
#ifdef __cplusplus
}
#endif