libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_sockopt_level (explain_string_buffer_t *sb, int data) |
int | explain_parse_sockopt_level_or_die (const char *text, const char *caption) |
void explain_buffer_sockopt_level | ( | explain_string_buffer_t * | sb, |
int | data | ||
) |
The explain_buffer_sockopt_level function may be used to print a representation of a sockopt_level structure.
sb | The string buffer to print into. |
data | The sockopt level value to be printed. |
Definition at line 165 of file sockopt_level.c.
int explain_parse_sockopt_level_or_die | ( | const char * | text, |
const char * | caption | ||
) |
The explain_parse_sockopt_level_or_die functions is used to parse a text string into a sockopt level value.
text | The text to be parsed. |
caption | extra information for error messages |
Definition at line 172 of file sockopt_level.c.