File: report.c

package info (click to toggle)
cdparanoia 3a9-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 556 kB
  • ctags: 530
  • sloc: ansic: 6,535; sh: 1,238; makefile: 33
file content (26 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <stdio.h>
#include "interface/cdda_interface.h"

int quiet=0;
int verbose=CDDA_MESSAGE_FORGETIT;

void report(char *s){
  if(!quiet){
    fprintf(stderr,s);
    fputc('\n',stderr);
  }
}

void report2(char *s, char *s2){
  if(!quiet){
    fprintf(stderr,s,s2);
    fputc('\n',stderr);
  }
}

void report3(char *s, char *s2, char *s3){
  if(!quiet){
    fprintf(stderr,s,s2,s3);
    fputc('\n',stderr);
  }
}