diff options
author | nicm <nicm> | 2021-02-11 09:39:29 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-02-11 09:39:29 +0000 |
commit | 2b58c226db055eff4bbb971fa00938b42690f4ac (patch) | |
tree | 99ef851469726bd9f6f7f6087cce68cd660a0b67 /tmux.h | |
parent | 79e1984962281d94b25ff14ac3de31bc63358ead (diff) | |
download | rtmux-2b58c226db055eff4bbb971fa00938b42690f4ac.tar.gz rtmux-2b58c226db055eff4bbb971fa00938b42690f4ac.tar.bz2 rtmux-2b58c226db055eff4bbb971fa00938b42690f4ac.zip |
Add a couple of helper functions, and flush imsgs on exit.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1899,6 +1899,7 @@ struct tmuxpeer *proc_add_peer(struct tmuxproc *, int, void proc_remove_peer(struct tmuxpeer *); void proc_kill_peer(struct tmuxpeer *); void proc_toggle_log(struct tmuxproc *); +pid_t proc_fork_and_daemon(int *); /* cfg.c */ extern int cfg_finished; @@ -2389,6 +2390,7 @@ void file_write(struct client *, const char *, int, const void *, size_t, client_file_cb, void *); void file_read(struct client *, const char *, client_file_cb, void *); void file_push(struct client_file *); +int file_write_left(struct client_files *); void file_write_open(struct client_files *, struct tmuxpeer *, struct imsg *, int, int, client_file_cb, void *); void file_write_data(struct client_files *, struct imsg *); |