libicsc  1.0.0
 All Data Structures Files Functions Modules
Functions
Debugging

Functions used for debugging and error reporting. More...

Functions

void icsc_enable_debug ()
 Enable debug messages. More...
 
void icsc_disable_debug ()
 Disable debug messages. More...
 
void icsc_debug (const char *fmt,...)
 Display a debug message to stderr. More...
 
void icsc_error (const char *fmt,...)
 Display an error message to stderr. More...
 

Detailed Description

Functions used for debugging and error reporting.

Function Documentation

void icsc_debug ( const char *  fmt,
  ... 
)

Display a debug message to stderr.

The string "ICSC DEBUG: " is prepended to the message. Parameters and formatting follow the same rules as printf().

This function only output anything if debugging is first enabled with icsc_enable_debug().

void icsc_disable_debug ( )

Disable debug messages.

Parameters
none
Returns
nothing
void icsc_enable_debug ( )

Enable debug messages.

  • Caution - this gets very noisy
Parameters
none
Returns
nothing
void icsc_error ( const char *  fmt,
  ... 
)

Display an error message to stderr.

The string "ICSC ERROR: " is prepended to the message. Parameters and formatting follow the same rules as printf().