diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-06-02 11:29:48 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-06-02 11:29:48 +0100 |
commit | 31a51cae1dc420281bd3c51c2f0521668ad4e25d (patch) | |
tree | 48699668aa6b89ee41a9960d871e05fa9304309c /tmux.h | |
parent | 191a836560f1b1996c4976eb496b27a6d428ba21 (diff) | |
parent | f3931497f8aee291bce132fb106cedb55c5b3fa9 (diff) | |
download | rtmux-31a51cae1dc420281bd3c51c2f0521668ad4e25d.tar.gz rtmux-31a51cae1dc420281bd3c51c2f0521668ad4e25d.tar.bz2 rtmux-31a51cae1dc420281bd3c51c2f0521668ad4e25d.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1854,6 +1854,7 @@ extern int ptm_fd; extern const char *shell_command; int checkshell(const char *); void setblocking(int, int); +uint64_t get_timer(void); const char *sig2name(int); const char *find_cwd(void); const char *find_home(void); @@ -1914,6 +1915,7 @@ char *paste_make_sample(struct paste_buffer *); #define FORMAT_WINDOW 0x40000000U struct format_tree; struct format_modifier; +typedef char *(*format_cb)(struct format_tree *); const char *format_skip(const char *, const char *); int format_true(const char *); struct format_tree *format_create(struct client *, struct cmdq_item *, int, @@ -1924,6 +1926,7 @@ void printflike(3, 4) format_add(struct format_tree *, const char *, const char *, ...); void format_add_tv(struct format_tree *, const char *, struct timeval *); +void format_add_cb(struct format_tree *, const char *, format_cb); void format_each(struct format_tree *, void (*)(const char *, const char *, void *), void *); char *format_expand_time(struct format_tree *, const char *); |