| 87 | } |
| 88 | |
| 89 | static combine_notes_fn parse_combine_notes_fn(const char *v) |
| 90 | { |
| 91 | if (!strcasecmp(v, "overwrite")) |
| 92 | return combine_notes_overwrite; |
| 93 | else if (!strcasecmp(v, "ignore")) |
| 94 | return combine_notes_ignore; |
| 95 | else if (!strcasecmp(v, "concatenate")) |
| 96 | return combine_notes_concatenate; |
| 97 | else if (!strcasecmp(v, "cat_sort_uniq")) |
| 98 | return combine_notes_cat_sort_uniq; |
| 99 | else |
| 100 | return NULL; |
| 101 | } |
| 102 | |
| 103 | static int notes_rewrite_config(const char *k, const char *v, |
| 104 | const struct config_context *ctx UNUSED, |
no outgoing calls
no test coverage detected