libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_addrinfo_flags (explain_string_buffer_t *sb, int flgs) |
int | explain_parse_addrinfo_flags_or_die (const char *text, const char *captn) |
void explain_buffer_addrinfo_flags | ( | explain_string_buffer_t * | sb, |
int | flgs | ||
) |
The explain_buffer_addrinfo_flags function may be used to
sb | The string buffer to print into. |
flgs | the addrinfo.ai_flags value to be printed |
Definition at line 63 of file addrinfo_flags.c.
int explain_parse_addrinfo_flags_or_die | ( | const char * | text, |
const char * | captn | ||
) |
The explain_parse_addrinfo_flags_or_die function may be used to parse a tet string into a addrinfo.ai_flags value. On error, prints diagnostic and exits EXIT_FAILURE.
text | The text to be parsed. |
captn | Additional text for fron of error message |
Definition at line 70 of file addrinfo_flags.c.