| 865 | } |
| 866 | |
| 867 | static struct afswtch * |
| 868 | af_getbyname(const char *name) |
| 869 | { |
| 870 | struct afswtch *afp; |
| 871 | |
| 872 | for (afp = afs; afp != NULL; afp = afp->af_next) |
| 873 | if (strcmp(afp->af_name, name) == 0) |
| 874 | return afp; |
| 875 | return NULL; |
| 876 | } |
| 877 | |
| 878 | static struct afswtch * |
| 879 | af_getbyfamily(int af) |
no test coverage detected