Github User Fetcher 1.0.0
C Application with Server and GUI
|
Report functions. More...
#include "stats.h"
Go to the source code of this file.
Typedefs | |
typedef void | criterion_reporter(FILE *stream, struct criterion_global_stats *) |
Functions | |
CR_API int | criterion_register_output_provider (const char *name, criterion_reporter *reporter) |
CR_API int | criterion_add_output (const char *provider, const char *path) |
Report functions.
Definition in file output.h.
typedef void criterion_reporter(FILE *stream, struct criterion_global_stats *) |
CR_API int criterion_add_output | ( | const char * | provider, |
const char * | path ) |
Use an output provider to write a report in a specific path.
[in] | provider | The name of a registered output provider. |
[in] | path | The path to the file to write the report to. |
CR_API int criterion_register_output_provider | ( | const char * | name, |
criterion_reporter * | reporter ) |
Register an output provider.
[in] | name | The name the output provider shall be registered as. |
[in] | reporter | The output reporting function. |