* Get the iffam descriptor from the name */
| 257 | * Get the iffam descriptor from the name |
| 258 | */ |
| 259 | static __inline iffam_p |
| 260 | get_iffam_from_name(const char *name) |
| 261 | { |
| 262 | iffam_p iffam; |
| 263 | int k; |
| 264 | |
| 265 | for (k = 0; k < NUM_FAMILIES; k++) { |
| 266 | iffam = &gFamilies[k]; |
| 267 | if (!strcmp(iffam->hookname, name)) |
| 268 | return (iffam); |
| 269 | } |
| 270 | return (NULL); |
| 271 | } |
| 272 | |
| 273 | /************************************************************************ |
| 274 | INTERFACE STUFF |
no test coverage detected