|
dhcpd-pools
3.0
ISC dhcpd lease usage analyser
|
#include <config.h>#include "error.h"#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "getprogname.h"#include <fcntl.h>#include <unistd.h>
Macros | |
| #define | _(String) String |
| #define | program_name getprogname () |
Functions | |
| this configure time declaration test was not run int | strerror_r (int errnum, char *buf, size_t buflen) |
| 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 |
| int | error_one_per_line |
| #define _ | ( | String | ) | String |
Referenced by print_errno_message().
| #define program_name getprogname () |
Referenced by __attribute__(), error(), error_at_line(), output_alarming(), and parse_command_line_opts().
|
static |

| void error | ( | int | status, |
| int | errnum, | ||
| const char * | message, | ||
| ... | |||
| ) |
Referenced by clean_up(), close_outfile(), close_stdout(), error_at_line(), field_selector(), must_enter(), must_put_base(), must_put_range(), must_put_shnet(), must_read_template(), mustach_dhcpd_pools(), open_outfile(), output_alarming(), output_analysis(), parse_cidr(), parse_command_line_opts(), parse_config(), parse_leases(), return_limit(), rpl_stat(), skip_arg_parse(), strtod_or_err(), and xalloc_die().

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

|
static |
|
static |
Referenced by flush_stdout().
|
static |
| this configure time declaration test was not run int strerror_r | ( | int | errnum, |
| char * | buf, | ||
| size_t | buflen | ||
| ) |
| unsigned int error_message_count |
Referenced by _GL_ATTRIBUTE_FORMAT_PRINTF().
| int error_one_per_line |
| void(* error_print_progname) (void) |
Referenced by error(), and error_at_line().
1.8.13