aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-04-06 21:51:31 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-04-06 21:51:31 +0000
commitec89eb955236f91e63febe1764123e605641fc52 (patch)
treec81e8a37c4625857f084ffdf70efba82fe715df3 /tmux.h
parentc8a14def9f2273c13d081c891d76e5f32323fc40 (diff)
downloadrtmux-ec89eb955236f91e63febe1764123e605641fc52.tar.gz
rtmux-ec89eb955236f91e63febe1764123e605641fc52.tar.bz2
rtmux-ec89eb955236f91e63febe1764123e605641fc52.zip
Change so that an empty session name always means the current sessions
even if given with, for example, -t '', and explicitly forbid empty session names and those containing a : when they are created.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index a2af2a87..12f68085 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1978,6 +1978,7 @@ struct session *session_create(const char *, const char *, const char *,
struct environ *, struct termios *, int, u_int, u_int,
char **);
void session_destroy(struct session *);
+int session_check_name(const char *);
void session_update_activity(struct session *);
struct session *session_next_session(struct session *);
struct session *session_previous_session(struct session *);