1 2 3 4 5 6 7 8 9 10
struct option { void *value; }; void parse_options (struct option *); void cmd_grep(void) { struct option options[] = { { &options } }; parse_options(options); }