error.c File Reference

Error reporting. More...

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include "main.h"
#include "gettext.h"
#include "error.h"

Functions

void fatal (const char *fmt,...)
 Convenience function for reporting fatal errors. Will call exit() after sending/displaying error message.
void error (const char *fmt,...)
 Convenience function for reporting errors that will soon result in a fatal error and always need user's attention.
void notify (const char *fmt,...)
 Convenience function for reporting informative messages and warnings. Deprecated. Use info() instead.
void info (const char *fmt,...)
 Convenience function for reporting informative messages and warnings.
void debug (const char *fmt,...)
 Convenience function for reporting debug messages.


Detailed Description

Error reporting.


Function Documentation

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

Convenience function for reporting debug messages.

Parameters:
fmt Format string.

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

Convenience function for reporting errors that will soon result in a fatal error and always need user's attention.

Parameters:
fmt Format string.

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

Convenience function for reporting fatal errors. Will call exit() after sending/displaying error message.

Parameters:
fmt Format string.

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

Convenience function for reporting informative messages and warnings.

Parameters:
fmt Format string.

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

Convenience function for reporting informative messages and warnings. Deprecated. Use info() instead.

Parameters:
fmt Format string.


Generated on Tue Jul 3 13:23:36 2007 for Tablix by  doxygen 1.5.2