Main Page   Data Structures   File List   Data Fields   Globals  

report.h File Reference

Go to the source code of this file.

Enumerations

enum  report_levels {
  REP_DEBUG = 0, REP_MESSAGE = 1, REP_WARNING = 2, REP_ERROR = 3,
  REP_CRITICAL = 4
}

Functions

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


Enumeration Type Documentation

enum report_levels
 

An enum to caracterize report levels.

Enumeration values:
REP_DEBUG 
REP_MESSAGE 
REP_WARNING 
REP_ERROR 
REP_CRITICAL 

Definition at line 42 of file report.h.


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().


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