Add args parsing callback for some future work, currently unused.

This commit is contained in:
nicm
2021-08-21 10:22:38 +00:00
parent d371764d02
commit 08e6360f23
61 changed files with 91 additions and 89 deletions

2
tmux.h
View File

@ -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. */