libexplain  1.4.D001
Functions
libexplain/parse_bits/find_by_name.c File Reference
#include <libexplain/ac/string.h>
#include <libexplain/parse_bits.h>

Go to the source code of this file.

Functions

const explain_parse_bits_table_texplain_parse_bits_find_by_name (const char *name, const explain_parse_bits_table_t *table, size_t table_size)

Function Documentation

const explain_parse_bits_table_t* explain_parse_bits_find_by_name ( const char *  name,
const explain_parse_bits_table_t table,
size_t  table_size 
)

The explain_parse_bits_find_by_name function is used to search a parse-bits table for the given name.

Parameters:
nameThe name 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 26 of file find_by_name.c.