libexplain  1.4.D001
Functions
libexplain/parse_bits/print.c File Reference
#include <libexplain/parse_bits.h>
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_parse_bits_print (explain_string_buffer_t *sb, int value, const explain_parse_bits_table_t *table, int table_size)

Function Documentation

void explain_parse_bits_print ( struct explain_string_buffer_t sb,
int  value,
const explain_parse_bits_table_t table,
int  table_size 
)

The explain_parse_bits_print function may be used to break a bit-set value into its component bits and print the result.

Parameters:
sbThe string buffer to print into.
valueThe value to dismantle and search for bits in the table
tableThe table to be searched.
table_sizeThe number of members in the table to be searched.

Definition at line 25 of file print.c.