=============== KeywordHash_Find =============== */
| 1253 | =============== |
| 1254 | */ |
| 1255 | keywordHash_t *KeywordHash_Find(keywordHash_t *table[], const char *keyword) |
| 1256 | { |
| 1257 | keywordHash_t *key; |
| 1258 | int hash; |
| 1259 | |
| 1260 | hash = KeywordHash_Key(keyword); |
| 1261 | for (key = table[hash]; key; key = key->next) |
| 1262 | { |
| 1263 | if (!Q_stricmp(key->keyword, keyword)) |
| 1264 | return key; |
| 1265 | } |
| 1266 | return NULL; |
| 1267 | } |
| 1268 | |
| 1269 | /* |
| 1270 | ================ |
no test coverage detected