libexplain  1.4.D001
Functions | Variables
libexplain/string_to/bool.c File Reference
#include <libexplain/parse_bits.h>
#include <libexplain/string_to_thing.h>

Go to the source code of this file.

Functions

int explain_parse_bool_or_die (const char *text)

Variables

static const
explain_parse_bits_table_t 
table []

Function Documentation

int explain_parse_bool_or_die ( const char *  text)

Definition at line 34 of file bool.c.


Variable Documentation

Initial value:
{
    { "yes", 1},
    { "no", 0},
    { "true", 1},
    { "false", 0},
}

Definition at line 24 of file bool.c.