ctest_lib.h 551 Bytes
Newer Older
1 2 3 4 5
/* Icecast
 *
 * This program is distributed under the GNU General Public License, version 2.
 * A copy of this license is included with this source.
 *
6
 * Copyright 2018,      Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>,
7 8 9 10 11 12 13 14 15 16
 */

#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);
17
void ctest_diagnostic_printf(const char *format, ...);
18 19 20 21
void ctest_bail_out(const char *reason);
int  ctest_bailed_out(void);

#endif