libexplain  1.4.D001
Functions
libexplain/parse_bits/print_single.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_single (explain_string_buffer_t *sb, int value, const explain_parse_bits_table_t *table, int table_size)

Function Documentation

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

The explain_parse_bits_print_single function may be used to lookup a value and print the name.

Parameters:
sbThe string buffer to print into.
valueThe value to dismantle and search for 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_single.c.