FIXME: This is a hack! Expose somehow in ccan/opt.*/ Returns string after first '-'. */
| 227 | /* FIXME: This is a hack! Expose somehow in ccan/opt.*/ |
| 228 | /* Returns string after first '-'. */ |
| 229 | static const char *first_name(const char *names, unsigned *len) |
| 230 | { |
| 231 | *len = strcspn(names + 1, "|= "); |
| 232 | return names + 1; |
| 233 | } |
| 234 | |
| 235 | static const char *next_name(const char *names, unsigned *len) |
| 236 | { |
no outgoing calls
no test coverage detected