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

Go to the source code of this file.

Functions

const explain_parse_bits_table_texplain_parse_bits_find_by_value (int value, const explain_parse_bits_table_t *table, size_t table_size)

Function Documentation

const explain_parse_bits_table_t* explain_parse_bits_find_by_value ( int  value,
const explain_parse_bits_table_t table,
size_t  table_size 
)

The explain_parse_bits_find_by_value function is used to search a parse-bits table for the given value.

Parameters:
valueThe value to search for in the table
tableThe table to be searched.
table_sizeThe number of members in the table to be searched.
Returns:
pointer to table entry on succes, or NULL on no match

Definition at line 24 of file find_by_value.c.