summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-05-25 07:18:20 +0000
committernicm <nicm@openbsd.org>2019-05-25 07:18:20 +0000
commita6afde387ed71343a64370201f8bd06beab93473 (patch)
treeb2c952d52a4e843947f1cf75f2b7b5745aa473f7 /usr.bin/tmux/tmux.h
parentFix error handling in if-shell. (diff)
downloadwireguard-openbsd-a6afde387ed71343a64370201f8bd06beab93473.tar.xz
wireguard-openbsd-a6afde387ed71343a64370201f8bd06beab93473.zip
Merge cmd_list_parse into cmd-parse.y so it can use the new alias
processing code.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 35fac212d9d..cde11dc618a 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.904 2019/05/25 06:58:10 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.905 2019/05/25 07:18:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2016,12 +2016,13 @@ void cmd_parse_empty(struct cmd_parse_input *);
struct cmd_parse_result *cmd_parse_from_file(FILE *, struct cmd_parse_input *);
struct cmd_parse_result *cmd_parse_from_string(const char *,
struct cmd_parse_input *);
+struct cmd_parse_result *cmd_parse_from_arguments(int, char **,
+ struct cmd_parse_input *);
/* cmd-list.c */
struct cmd_list *cmd_list_new(void);
void cmd_list_append(struct cmd_list *, struct cmd *);
void cmd_list_move(struct cmd_list *, struct cmd_list *);
-struct cmd_list *cmd_list_parse(int, char **, const char *, u_int, char **);
void cmd_list_free(struct cmd_list *);
char *cmd_list_print(struct cmd_list *, int);