summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2021-02-11 09:39:29 +0000
committernicm <nicm>2021-02-11 09:39:29 +0000
commit2b58c226db055eff4bbb971fa00938b42690f4ac (patch)
tree99ef851469726bd9f6f7f6087cce68cd660a0b67 /tmux.h
parent79e1984962281d94b25ff14ac3de31bc63358ead (diff)
Add a couple of helper functions, and flush imsgs on exit.
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 985b8858..8f83c218 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *);