2018-07-27 09:02:09 -04:00
|
|
|
/* Icecast
|
|
|
|
*
|
|
|
|
* This program is distributed under the GNU General Public License, version 2.
|
|
|
|
* A copy of this license is included with this source.
|
|
|
|
*
|
2018-07-27 09:05:42 -04:00
|
|
|
* Copyright 2018, Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>,
|
2018-07-27 09:02:09 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CTEST_LIB_H__
|
|
|
|
#define __CTEST_LIB_H__
|
|
|
|
|
|
|
|
void ctest_init(void);
|
|
|
|
void ctest_fin(void);
|
|
|
|
|
|
|
|
void ctest_test(const char *desc, int res);
|
|
|
|
void ctest_diagnostic(const char *line);
|
2018-07-27 09:25:15 -04:00
|
|
|
void ctest_diagnostic_printf(const char *format, ...);
|
2018-07-27 09:02:09 -04:00
|
|
|
void ctest_bail_out(const char *reason);
|
|
|
|
int ctest_bailed_out(void);
|
|
|
|
|
|
|
|
#endif
|