54 lines
689 B
C
54 lines
689 B
C
|
|
#include <stdbool.h>
|
|
|
|
#include <structs/operators.h>
|
|
|
|
struct cmdln_flags
|
|
{
|
|
const char* command;
|
|
|
|
struct operators selected_operators;
|
|
|
|
bool print_stats;
|
|
bool print_all_and_quit;
|
|
|
|
bool print_with_color;
|
|
|
|
bool verbose;
|
|
};
|
|
|
|
#if 0
|
|
|
|
bool print_all_and_quit = false;
|
|
|
|
const char* command = NULL;
|
|
|
|
struct {
|
|
bool not;
|
|
|
|
bool or, orn, nor;
|
|
|
|
bool and, andn, nand;
|
|
|
|
bool xor, nxor;
|
|
|
|
bool lt, lte, gt, gte;
|
|
|
|
bool ternary;
|
|
} use_operators;
|
|
|
|
bool print_truthtable = false;
|
|
|
|
bool assume_yes = false;
|
|
|
|
bool verbose = false;
|
|
|
|
bool print_with_color = false;
|
|
|
|
bool print_stats = false;
|
|
|
|
bool force_rebuild = false;
|
|
|
|
bool quiet = false;
|
|
|
|
#endif
|