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