Consume a parsed record, pushing it into the records hash table.
| 361 | |
| 362 | // Consume a parsed record, pushing it into the records hash table. |
| 363 | static void |
| 364 | RecConsumeConfigEntry(RecT rec_type, RecDataT data_type, const char *name, const char *value, RecSourceT source) |
| 365 | { |
| 366 | RecData data; |
| 367 | |
| 368 | memset(&data, 0, sizeof(RecData)); |
| 369 | RecDataSetFromString(data_type, &data, value); |
| 370 | RecSetRecord(rec_type, name, data_type, &data, nullptr, source, false); |
| 371 | RecDataZero(data_type, &data); |
| 372 | } |
| 373 | |
| 374 | //------------------------------------------------------------------------- |
| 375 | // RecReadConfigFile |
nothing calls this directly
no test coverage detected