| 159 | } |
| 160 | |
| 161 | struct table_action_profile * |
| 162 | table_action_profile_find(const char *name) |
| 163 | { |
| 164 | struct table_action_profile *profile; |
| 165 | |
| 166 | if (name == NULL) |
| 167 | return NULL; |
| 168 | |
| 169 | TAILQ_FOREACH(profile, &table_action_profile_list, node) |
| 170 | if (strcmp(profile->name, name) == 0) |
| 171 | return profile; |
| 172 | |
| 173 | return NULL; |
| 174 | } |
| 175 | |
| 176 | struct table_action_profile * |
| 177 | table_action_profile_create(const char *name, |
no test coverage detected