libexplain  1.4.D001
Functions | Variables
libexplain/buffer/sockopt_level.c File Reference
#include <libexplain/ac/bluetooth/bluetooth.h>
#include <libexplain/ac/netinet/in.h>
#include <libexplain/ac/sys/socket.h>
#include <libexplain/ac/linux/irda.h>
#include <libexplain/buffer/sockopt_level.h>
#include <libexplain/parse_bits.h>
#include <libexplain/sizeof.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)

Variables

static const
explain_parse_bits_table_t 
table []

Function Documentation

The explain_buffer_sockopt_level function may be used to print a representation of a sockopt_level structure.

Parameters:
sbThe string buffer to print into.
dataThe 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.

Parameters:
textThe text to be parsed.
captionextra information for error messages
Returns:
The sokopt level value. On error it prints a fatal error message and exits.

Definition at line 172 of file sockopt_level.c.


Variable Documentation

Definition at line 31 of file sockopt_level.c.