libcdio-paranoia 10.2+2.0.2
report.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2008 Rocky Bernstein <rocky@gnu.org>
3*/
4
5extern int verbose;
6extern int quiet;
7extern FILE *reportfile;
8
9#define report(...) {if(!quiet){fprintf(stderr, __VA_ARGS__);fputc('\n',stderr);} \
10 if(reportfile){fprintf(reportfile, __VA_ARGS__);fputc('\n',reportfile);}}
11#define reportC(...) {if(!quiet){fprintf(stderr, __VA_ARGS__);} \
12 if(reportfile){fprintf(reportfile, __VA_ARGS__);}}
13#define printC(...) {if(!quiet){fprintf(stderr, __VA_ARGS__);}}
14#define logC(...) {if(reportfile){fprintf(reportfile, __VA_ARGS__);}}
int verbose
Definition: report.c:25
int quiet
Definition: report.c:24
FILE * reportfile
Definition: report.c:26