| 2054 | } |
| 2055 | |
| 2056 | static const char *comment_key_name(unsigned id) |
| 2057 | { |
| 2058 | static const char *name[] = { |
| 2059 | "core.commentChar", |
| 2060 | "core.commentString", |
| 2061 | }; |
| 2062 | |
| 2063 | if (id >= ARRAY_SIZE(name)) |
| 2064 | BUG("invalid comment key id"); |
| 2065 | |
| 2066 | return name[id]; |
| 2067 | } |
| 2068 | |
| 2069 | static void comment_char_callback(const char *key, const char *value, |
| 2070 | const struct config_context *ctx, void *data) |
no outgoing calls
no test coverage detected