diff options
author | 2017-06-04 08:25:57 +0000 | |
---|---|---|
committer | 2017-06-04 08:25:57 +0000 | |
commit | 79c9b201a726fc18a84d3a07047cdb611ff49021 (patch) | |
tree | c0431e43ac646c2a5cb39a66dc16e32e5a79cd03 /usr.bin/tmux/tmux.h | |
parent | Typo/style; plus man page escaping from jmc. (diff) | |
download | wireguard-openbsd-79c9b201a726fc18a84d3a07047cdb611ff49021.tar.xz wireguard-openbsd-79c9b201a726fc18a84d3a07047cdb611ff49021.zip |
Support SIGUSR2 to stop and start logging for an existing server. Also
we currently only have two log levels so just use -v and -vv rather than
-v and -vvvv, and clarify the man page entry for -v.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 6c72939808a..9faa25c56be 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.779 2017/05/31 11:00:00 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.780 2017/06/04 08:25:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1493,6 +1493,7 @@ struct tmuxpeer *proc_add_peer(struct tmuxproc *, int, void (*)(struct imsg *, void *), void *); void proc_remove_peer(struct tmuxpeer *); void proc_kill_peer(struct tmuxpeer *); +void proc_toggle_log(struct tmuxproc *); /* cfg.c */ extern int cfg_finished; @@ -2336,6 +2337,7 @@ char *get_proc_name(int, char *); void log_add_level(void); int log_get_level(void); void log_open(const char *); +void log_toggle(const char *); void log_close(void); void printflike(1, 2) log_debug(const char *, ...); __dead void printflike(1, 2) fatal(const char *, ...); |