libexplain  1.4.D001
Functions | Variables
libexplain/buffer/hstrerror.c File Reference
#include <libexplain/ac/netdb.h>
#include <libexplain/buffer/gettext.h>
#include <libexplain/buffer/hstrerror.h>
#include <libexplain/buffer/int.h>
#include <libexplain/errno_info.h>
#include <libexplain/option.h>
#include <libexplain/parse_bits.h>

Go to the source code of this file.

Functions

static void print_h_errno_name (explain_string_buffer_t *sb, int h_errno_value, int errno_value)
static void print_h_errno_description (explain_string_buffer_t *sb, int h_errno_value, int errno_value)
void explain_buffer_hstrerror (explain_string_buffer_t *sb, int h_errno_value, int errno_value)

Variables

static const
explain_parse_bits_table_t 
table []

Function Documentation

void explain_buffer_hstrerror ( explain_string_buffer_t sb,
int  h_errno_value,
int  errno_value 
)

The explain_buffer_hstrerror function may be used to print a representation of a hstrerror structure.

Parameters:
sbThe string buffer to print into.
h_errno_valueThe h_errno value to be printed.
errno_valueThe errno value to be printed (if h_errno_value == NETDB_INTERNAL)

Definition at line 127 of file hstrerror.c.

static void print_h_errno_description ( explain_string_buffer_t sb,
int  h_errno_value,
int  errno_value 
) [static]

Definition at line 85 of file hstrerror.c.

static void print_h_errno_name ( explain_string_buffer_t sb,
int  h_errno_value,
int  errno_value 
) [static]

Definition at line 55 of file hstrerror.c.


Variable Documentation

Initial value:
{





















}

Definition at line 28 of file hstrerror.c.