From 08e6360f23284c9e2e521cb466002bdd9350a63d Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 21 Aug 2021 10:22:38 +0000 Subject: Add args parsing callback for some future work, currently unused. --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 43881c1d..af3e3a84 100644 --- a/tmux.h +++ b/tmux.h @@ -1366,10 +1366,12 @@ struct args_entry; RB_HEAD(args_tree, args_entry); /* Arguments parsing state. */ +typedef enum args_type (*args_parse_cb)(struct args *, u_int); struct args_parse { const char *template; int lower; int upper; + args_parse_cb cb; }; /* Command find structures. */ -- cgit