| 720 | } |
| 721 | |
| 722 | void parse_trailers_from_config(struct list_head *config_head) |
| 723 | { |
| 724 | struct arg_item *item; |
| 725 | struct list_head *pos; |
| 726 | |
| 727 | /* Add an arg item for each configured trailer with a command */ |
| 728 | list_for_each(pos, &conf_head) { |
| 729 | item = list_entry(pos, struct arg_item, list); |
| 730 | if (item->conf.command) |
| 731 | add_arg_item(config_head, |
| 732 | xstrdup(token_from_item(item, NULL)), |
| 733 | xstrdup(""), |
| 734 | &item->conf, NULL); |
| 735 | } |
| 736 | } |
| 737 | |
| 738 | void parse_trailers_from_command_line_args(struct list_head *arg_head, |
| 739 | struct list_head *new_trailer_head) |
no test coverage detected