=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.1138 retrieving revision 1.1139 diff -c -r1.1138 -r1.1139 *** src/usr.bin/tmux/tmux.h 2021/08/27 17:15:57 1.1138 --- src/usr.bin/tmux/tmux.h 2021/08/27 17:25:55 1.1139 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.1138 2021/08/27 17:15:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.1139 2021/08/27 17:25:55 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 2217,2224 **** struct args *args_create(void); struct args *args_parse(const struct args_parse *, struct args_value *, u_int, char **); ! void args_vector(struct args *, int *, char ***); void args_free_value(struct args_value *); void args_free(struct args *); char *args_print(struct args *); char *args_escape(const char *); --- 2217,2227 ---- struct args *args_create(void); struct args *args_parse(const struct args_parse *, struct args_value *, u_int, char **); ! struct args *args_copy(struct args *, int, char **); ! void args_to_vector(struct args *, int *, char ***); ! struct args_value *args_from_vector(int, char **); void args_free_value(struct args_value *); + void args_free_values(struct args_value *, u_int); void args_free(struct args *); char *args_print(struct args *); char *args_escape(const char *); *************** *** 2227,2232 **** --- 2230,2236 ---- u_char args_first(struct args *, struct args_entry **); u_char args_next(struct args_entry **); u_int args_count(struct args *); + struct args_value *args_values(struct args *); struct args_value *args_value(struct args *, u_int); const char *args_string(struct args *, u_int); struct cmd_list *args_make_commands_now(struct cmd *, struct cmdq_item *, *************** *** 2291,2299 **** --- 2295,2305 ---- void cmd_get_source(struct cmd *, const char **, u_int *); struct cmd *cmd_parse(struct args_value *, u_int, const char *, u_int, char **); + struct cmd *cmd_copy(struct cmd *, int, char **); void cmd_free(struct cmd *); char *cmd_print(struct cmd *); struct cmd_list *cmd_list_new(void); + struct cmd_list *cmd_list_copy(struct cmd_list *, int, char **); void cmd_list_append(struct cmd_list *, struct cmd *); void cmd_list_append_all(struct cmd_list *, struct cmd_list *); void cmd_list_move(struct cmd_list *, struct cmd_list *); *************** *** 2327,2333 **** struct cmdq_state *, char **); struct cmd_parse_result *cmd_parse_from_buffer(const void *, size_t, struct cmd_parse_input *); ! struct cmd_parse_result *cmd_parse_from_arguments(int, char **, struct cmd_parse_input *); /* cmd-queue.c */ --- 2333,2339 ---- struct cmdq_state *, char **); struct cmd_parse_result *cmd_parse_from_buffer(const void *, size_t, struct cmd_parse_input *); ! struct cmd_parse_result *cmd_parse_from_arguments(struct args_value *, u_int, struct cmd_parse_input *); /* cmd-queue.c */