------------------------------------------------------------------------- RecReadConfigFile -------------------------------------------------------------------------
| 375 | // RecReadConfigFile |
| 376 | //------------------------------------------------------------------------- |
| 377 | RecErrT |
| 378 | RecReadConfigFile() |
| 379 | { |
| 380 | RecDebug(DL_Note, "Reading '%s'", g_rec_config_fpath); |
| 381 | |
| 382 | // lock our hash table |
| 383 | ink_rwlock_wrlock(&g_records_rwlock); |
| 384 | |
| 385 | // Parse the actual file and hash the values. |
| 386 | RecConfigFileParse(g_rec_config_fpath, RecConsumeConfigEntry); |
| 387 | |
| 388 | // release our hash table |
| 389 | ink_rwlock_unlock(&g_records_rwlock); |
| 390 | |
| 391 | return REC_ERR_OKAY; |
| 392 | } |
| 393 | |
| 394 | swoc::Errata |
| 395 | RecReadYamlConfigFile() |
nothing calls this directly
no test coverage detected