fgms 0.11.8
The
FlightGear MultiPlayer Server
project
fgt_error.h File Reference
#include "fgt_common.h"
#include <stdarg.h>
#include <syslog.h>

Go to the source code of this file.

Functions

void debug (int level, char *str)
 
void err_doit (int errnoflag, int level, const char *fmt, va_list ap)
 
void err_dump (const char *fmt,...)
 
void err_msg (const char *fmt,...)
 
void err_quit (const char *fmt,...)
 
void err_ret (const char *fmt,...)
 
void err_sys (const char *fmt,...)
 

Variables

int daemon_proc
 

Function Documentation

void debug ( int  level,
char *  str 
)

Definition at line 196 of file fgt_error.c.

Referenced by ConnectDB(), doit(), main(), sigchld_handler(), signal_handler(), and SQL_Error().

void err_doit ( int  errnoflag,
int  level,
const char *  fmt,
va_list  ap 
)

Definition at line 154 of file fgt_error.c.

Referenced by err_dump(), err_msg(), err_quit(), err_ret(), and err_sys().

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

Definition at line 114 of file fgt_error.c.

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

Definition at line 128 of file fgt_error.c.

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

Definition at line 141 of file fgt_error.c.

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

Definition at line 88 of file fgt_error.c.

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

Definition at line 101 of file fgt_error.c.

Referenced by Accept(), Bind(), Close(), Connect(), Fork(), Listen(), and Socket().

Variable Documentation

int daemon_proc

Definition at line 24 of file fgt_error.c.

Referenced by debug(), err_doit(), and main().