aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2021-08-21 10:22:38 +0000
committernicm <nicm>2021-08-21 10:22:38 +0000
commit08e6360f23284c9e2e521cb466002bdd9350a63d (patch)
treeb70a3e2d2df8ace7f10b64fc5001bceb9fad9c05 /tmux.h
parentd371764d022b6c074f967faee815c3117203451e (diff)
downloadrtmux-08e6360f23284c9e2e521cb466002bdd9350a63d.tar.gz
rtmux-08e6360f23284c9e2e521cb466002bdd9350a63d.tar.bz2
rtmux-08e6360f23284c9e2e521cb466002bdd9350a63d.zip
Add args parsing callback for some future work, currently unused.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
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. */