dhcpd-pools  2.28
ISC dhcpd lease usage analyser
Macros | Functions | Variables
error.c File Reference
#include <config.h>
#include "error.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for error.c:

Macros

#define _(String)   String
 

Functions

this configure time declaration test was not run int strerror_r ()
 
static int is_open (int fd)
 
static void flush_stdout (void)
 
static void print_errno_message (int errnum)
 
static void _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0)
 
void error (int status, int errnum, const char *message,...)
 
void error_at_line (int status, int errnum, const char *file_name, unsigned int line_number, const char *message,...)
 

Variables

void(* error_print_progname )(void)
 
unsigned int error_message_count
 
char * program_name
 
int error_one_per_line
 

Macro Definition Documentation

#define _ (   String)    String

Referenced by print_errno_message().

Function Documentation

static void _GL_ATTRIBUTE_FORMAT_PRINTF ( ,
 
)
static

Here is the call graph for this function:

void error ( int  status,
int  errnum,
const char *  message,
  ... 
)
void error_at_line ( int  status,
int  errnum,
const char *  file_name,
unsigned int  line_number,
const char *  message,
  ... 
)

Here is the call graph for this function:

static void flush_stdout ( void  )
static

Referenced by error(), and error_at_line().

Here is the call graph for this function:

static int is_open ( int  fd)
static

Referenced by flush_stdout().

static void print_errno_message ( int  errnum)
static

Referenced by _GL_ATTRIBUTE_FORMAT_PRINTF().

Here is the call graph for this function:

this configure time declaration test was not run int strerror_r ( )

Variable Documentation

unsigned int error_message_count
int error_one_per_line
void(* error_print_progname) (void)

Referenced by error(), and error_at_line().

char* program_name

Referenced by main(), and output_alarming().