mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add args parsing callback for some future work, currently unused.
This commit is contained in:
2
tmux.h
2
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. */
|
||||
|
Reference in New Issue
Block a user