| 24 | } |
| 25 | |
| 26 | static const char *oa_prop(const CBMDefinition *d, const char *key) { |
| 27 | for (int i = 0; d && d->extra_props && d->extra_props[i]; i += 2) { |
| 28 | if (strcmp(d->extra_props[i], key) == 0) { |
| 29 | return d->extra_props[i + 1]; |
| 30 | } |
| 31 | } |
| 32 | return NULL; |
| 33 | } |
| 34 | |
| 35 | static int oa_count(const CBMFileResult *r, const char *label) { |
| 36 | int n = 0; |