1 2 3 4 5 6 7 8 9 10 11 12 13
struct Config { int precision; bool human_readable; bool help; }; typedef struct Config Config; struct Result { bool success; void* result; }; typedef struct Result Result; Result/*Config*/ parse_config(int argc, char* argv[]);