| 1319 | /************************************************************************/ |
| 1320 | |
| 1321 | char **CSVScanFileByName(const char *pszFilename, const char *pszKeyFieldName, |
| 1322 | const char *pszValue, CSVCompareCriteria eCriteria) |
| 1323 | |
| 1324 | { |
| 1325 | const int iKeyField = CSVGetFileFieldId(pszFilename, pszKeyFieldName); |
| 1326 | if (iKeyField == -1) |
| 1327 | return nullptr; |
| 1328 | |
| 1329 | return CSVScanFile(pszFilename, iKeyField, pszValue, eCriteria); |
| 1330 | } |
| 1331 | |
| 1332 | /************************************************************************/ |
| 1333 | /* CSVGetField() */ |
no test coverage detected