trailer_item 27 trailer.c struct trailer_item *previous; trailer_item 28 trailer.c struct trailer_item *next; trailer_item 34 trailer.c static struct trailer_item *first_conf_item; trailer_item 58 trailer.c static int same_token(struct trailer_item *a, struct trailer_item *b) trailer_item 67 trailer.c static int same_value(struct trailer_item *a, struct trailer_item *b) trailer_item 72 trailer.c static int same_trailer(struct trailer_item *a, struct trailer_item *b) trailer_item 92 trailer.c static void free_trailer_item(struct trailer_item *item) trailer_item 122 trailer.c static void print_all(struct trailer_item *first, int trim_empty) trailer_item 124 trailer.c struct trailer_item *item; trailer_item 131 trailer.c static void update_last(struct trailer_item **last) trailer_item 138 trailer.c static void update_first(struct trailer_item **first) trailer_item 145 trailer.c static void add_arg_to_input_list(struct trailer_item *on_tok, trailer_item 146 trailer.c struct trailer_item *arg_tok, trailer_item 147 trailer.c struct trailer_item **first, trailer_item 148 trailer.c struct trailer_item **last) trailer_item 167 trailer.c static int check_if_different(struct trailer_item *in_tok, trailer_item 168 trailer.c struct trailer_item *arg_tok, trailer_item 186 trailer.c static void remove_from_list(struct trailer_item *item, trailer_item 187 trailer.c struct trailer_item **first, trailer_item 188 trailer.c struct trailer_item **last) trailer_item 190 trailer.c struct trailer_item *next = item->next; trailer_item 191 trailer.c struct trailer_item *previous = item->previous; trailer_item 206 trailer.c static struct trailer_item *remove_first(struct trailer_item **first) trailer_item 208 trailer.c struct trailer_item *item = *first; trailer_item 248 trailer.c static void apply_item_command(struct trailer_item *in_tok, struct trailer_item *arg_tok) trailer_item 265 trailer.c static void apply_arg_if_exists(struct trailer_item *in_tok, trailer_item 266 trailer.c struct trailer_item *arg_tok, trailer_item 267 trailer.c struct trailer_item *on_tok, trailer_item 268 trailer.c struct trailer_item **in_tok_first, trailer_item 269 trailer.c struct trailer_item **in_tok_last) trailer_item 306 trailer.c static void apply_arg_if_missing(struct trailer_item **in_tok_first, trailer_item 307 trailer.c struct trailer_item **in_tok_last, trailer_item 308 trailer.c struct trailer_item *arg_tok) trailer_item 310 trailer.c struct trailer_item **in_tok; trailer_item 332 trailer.c static int find_same_and_apply_arg(struct trailer_item **in_tok_first, trailer_item 333 trailer.c struct trailer_item **in_tok_last, trailer_item 334 trailer.c struct trailer_item *arg_tok) trailer_item 336 trailer.c struct trailer_item *in_tok; trailer_item 337 trailer.c struct trailer_item *on_tok; trailer_item 338 trailer.c struct trailer_item *following_tok; trailer_item 343 trailer.c struct trailer_item *start_tok = backwards ? *in_tok_last : *in_tok_first; trailer_item 357 trailer.c static void process_trailers_lists(struct trailer_item **in_tok_first, trailer_item 358 trailer.c struct trailer_item **in_tok_last, trailer_item 359 trailer.c struct trailer_item **arg_tok_first) trailer_item 361 trailer.c struct trailer_item *arg_tok; trailer_item 362 trailer.c struct trailer_item *next_arg; trailer_item 438 trailer.c static struct trailer_item *get_conf_item(const char *name) trailer_item 440 trailer.c struct trailer_item *item; trailer_item 441 trailer.c struct trailer_item *previous; trailer_item 452 trailer.c item = xcalloc(sizeof(struct trailer_item), 1); trailer_item 482 trailer.c const char *trailer_item, *variable_name; trailer_item 484 trailer.c if (!skip_prefix(conf_key, "trailer.", &trailer_item)) trailer_item 487 trailer.c variable_name = strrchr(trailer_item, '.'); trailer_item 489 trailer.c if (!strcmp(trailer_item, "where")) { trailer_item 493 trailer.c } else if (!strcmp(trailer_item, "ifexists")) { trailer_item 497 trailer.c } else if (!strcmp(trailer_item, "ifmissing")) { trailer_item 501 trailer.c } else if (!strcmp(trailer_item, "separators")) { trailer_item 510 trailer.c const char *trailer_item, *variable_name; trailer_item 511 trailer.c struct trailer_item *item; trailer_item 517 trailer.c if (!skip_prefix(conf_key, "trailer.", &trailer_item)) trailer_item 520 trailer.c variable_name = strrchr(trailer_item, '.'); trailer_item 528 trailer.c name = xstrndup(trailer_item, variable_name - trailer_item - 1); trailer_item 595 trailer.c static const char *token_from_item(struct trailer_item *item, char *tok) trailer_item 604 trailer.c static struct trailer_item *new_trailer_item(struct trailer_item *conf_item, trailer_item 607 trailer.c struct trailer_item *new = xcalloc(sizeof(*new), 1); trailer_item 622 trailer.c static int token_matches_item(const char *tok, struct trailer_item *item, int tok_len) trailer_item 629 trailer.c static struct trailer_item *create_trailer_item(const char *string) trailer_item 633 trailer.c struct trailer_item *item; trailer_item 654 trailer.c static void add_trailer_item(struct trailer_item **first, trailer_item 655 trailer.c struct trailer_item **last, trailer_item 656 trailer.c struct trailer_item *new) trailer_item 670 trailer.c static struct trailer_item *process_command_line_args(struct string_list *trailers) trailer_item 672 trailer.c struct trailer_item *arg_tok_first = NULL; trailer_item 673 trailer.c struct trailer_item *arg_tok_last = NULL; trailer_item 675 trailer.c struct trailer_item *item; trailer_item 680 trailer.c struct trailer_item *new = new_trailer_item(item, NULL, NULL); trailer_item 687 trailer.c struct trailer_item *new = create_trailer_item(tr->string); trailer_item 806 trailer.c struct trailer_item **in_tok_first, trailer_item 807 trailer.c struct trailer_item **in_tok_last) trailer_item 829 trailer.c struct trailer_item *new = create_trailer_item(lines[i]->buf); trailer_item 837 trailer.c static void free_all(struct trailer_item **first) trailer_item 840 trailer.c struct trailer_item *item = remove_first(first); trailer_item 847 trailer.c struct trailer_item *in_tok_first = NULL; trailer_item 848 trailer.c struct trailer_item *in_tok_last = NULL; trailer_item 849 trailer.c struct trailer_item *arg_tok_first;