| 42 | } |
| 43 | |
| 44 | static const char *next_opt(const char *p, unsigned *i, unsigned *len) |
| 45 | { |
| 46 | for (; *i < opt_count; (*i)++) { |
| 47 | if (opt_table[*i].type == OPT_SUBTABLE) |
| 48 | continue; |
| 49 | if (!p) |
| 50 | return first_name(opt_table[*i].names, len); |
| 51 | p = next_name(p, len); |
| 52 | if (p) |
| 53 | return p; |
| 54 | } |
| 55 | return NULL; |
| 56 | } |
| 57 | |
| 58 | const char *first_lopt(unsigned *i, unsigned *len) |
| 59 | { |
no test coverage detected