Main Page   Data Structures   File List   Data Fields   Globals  

report.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include "report.h"

Go to the source code of this file.

Functions

void report (const char *error_message, const int level)

Variables

int reporting_level = 4


Function Documentation

void report const char *    error_message,
const int    level
 

Function for handling runtime message reporting to the user.

Parameters:
error_mesage  - a pointer to a string with the message to output.
level  - the level of the message.

Definition at line 54 of file report.c.

References REP_CRITICAL, REP_DEBUG, REP_ERROR, REP_MESSAGE, and REP_WARNING.

Referenced by ao_open_live_error(), audio_decoder(), audio_initiate(), audio_pause(), audio_play(), audio_stop(), audio_terminate(), audio_thread(), callback(), convert_mad_timer_t(), convert_milliseconds_from_time(), daisy_get_position(), daisy_goto_position(), daisy_init(), daisy_load(), daisy_pause(), daisy_play(), daisy_seek(), daisy_stop(), daisy_term(), error(), get_file_type(), header(), init_dither(), libao_initiate(), libao_terminate(), mp3_init(), mp3_play(), open_file(), output(), parse_full_clock(), parse_partial_clock(), parse_time_mad_time_t(), parse_time_milliseconds(), parse_timecount(), start_audio(), and type().


Variable Documentation

int reporting_level = 4
 

The level for error reporting (0-4 where 0 is low and 4 high) TODO: Put this in the global datastructure?

Definition at line 41 of file report.c.


Generated on Tue Sep 5 12:14:08 2006 for libdaisy by doxygen1.2.15